现场演示
<html> <head> <style> #borderimg1 { border: 15px solid transparent; padding: 15px; border-image-source: url(https://tutorialspoint.com/css/images/border.png); border-image-repeat: round; border-image-slice: 40; border-image-width: 20px; } </style> </head> <body> <p id = "borderimg1">This is image border example.</p> </body> </html>
以上就是使用 CSS 设置边框图像宽度的详细内容,更多请关注php中文网其它相关文章!
已抢65043个
抢已抢28149个
抢已抢15136个
抢已抢7615个
抢已抢9495个
抢已抢19265个
抢