0

does sololearn support border-image? if yes, please check it .

<!DOCTYPE html> <html> <head> <title>Untitled document</title> <style> div { width:200px; height:200px; margin:50px; background-color:darkcyan; border-image-source:url("https://images.pexels.com/photos/699122/pexels-photo-699122.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500"); border-image-slice:20%; border-image-width:20px; border-image-outset:5px; border-image-repeat:repeat; } img{ border:3px solid red; width:200px; height:200px; } </style> </head> <body> <div> </div> <img src="https://images.pexels.com/photos/699122/pexels-photo-699122.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=500" alt="image"> </body> </html>

21st Apr 2020, 5:43 AM
Divya Mohan
Divya Mohan - avatar
1 Answer
0
no its not work
23rd Apr 2020, 7:17 AM
Ayan Poddar
Ayan Poddar - avatar