原文: http://ourjs.com/detail/532bc9f36922aa7e1d000001
类似微网标题,一个框后面跟着一个三角形 http://nnmedinfo.itangyi.com/index.php?s=/addon/WeiSite/WeiSite/detail/id/870.html&from=singlemessage
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<h1 class='art-h1'>这个是一级标题家</h1> .art-h1 { height:40px; background: #57d9ff; float:left; margin:0px; padding:0px; } .art-h1:after { content:''; position: absolute; border:20px solid transparent; border-left:40px solid #57d9ff; } |