cssdiv 斜线倾斜45度

 

CSS div斜线倾斜45度

 

div的样式:

 

.line-div{

width: 12rem;

height: 4rem;

border-bottom: 0.15rem solid #dcdcdc;

/* border: 2px solid #000000; */

position: absolute;

text-align: center;

margin-left: 50%;

margin-top: -10rem;

-webkit-transform: rotate(25deg);

-moz-transform: rotate(25deg);

filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=0.45);

}

转载于:https://www.cnblogs.com/zhangao/p/9770711.html

本文链接:https://my.lmcjl.com/post/11630.html

展开阅读全文

4 评论

留下您的评论.