HTML CSS examples for CSS:Quiz
Give the <div> element an image border. Slice the image at 30px and repeat it.
<!DOCTYPE html> <html> <head> <style> div {<!-- w w w. j ava 2 s . c om--> border: 10px solid transparent; border-image: url(https://www.java2s.com/style/demo/Google-Chrome.png) 30 round; } </style> </head> <body> <div>This is a div element. It has some text.</div> </body> </html>