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);

}

相关文章:

  • 2022-12-23
  • 2021-03-29
  • 2021-08-01
  • 2021-11-13
  • 2021-08-19
  • 2021-11-01
  • 2019-09-02
  • 2021-06-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2021-08-19
相关资源
相似解决方案