怎么实现十字架....
来源:1-6 编程练习
rickleong
2017-08-01 13:48:14
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Document</title> <style> div{ /*此处写代码*/ width:200px; height:200px; background:red; margin:100px 100px; outline:80px dotted #fff; outline-offset:-60px; } </style> </head> <body> <div></div> </body> </html>
用dotted也不行...
1回答
浏览器存在一定的差异性,因此理解其中的实现思路即可~
相似问题