css画斜线

时间:2016-09-14 12:23:36   收藏:0   阅读:1486

css代码:

.border{width:500px; height:200px; border-bottom:2px solid #000000; -webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);}

 

html代码:

<div class="border"></div>

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!