摘要:
1 //获取伪元素// CSS代码 2 #myId:before { 3 content: "hello world!"; 4 display: block; 5 width: 100px; 6 height: 100px; 7 background: red; 8 } 9 // HTML代码 10 11 // JS代码 12 var myIdElement = docume... 阅读全文
posted @ 2018-06-14 22:12
前端极客
阅读(6931)
评论(0)
推荐(0)

浙公网安备 33010602011771号