您可以通过:before
此小提琴简单地通过a来实现此目的。
的HTML
<h1>Reference</h1>
的CSS
h1{
font-size: 24px;
color:blue;
}
h1:before{
content:"";
display:inline-block;
margin-right:10px;
height:30px;
width:5px;
border-left:solid 10px blue;
border-right:solid 5px blue;
vertical-align:top;
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句