yumeixin


html,
body {
height: 100%;
}
body {
font-size:37.5px;
}
.error {
position: relative;
}
.error::before {
content: \'\';
position: absolute;
top:50%;
width: 100%;
height: 6.25em;
background: linear-gradient(135deg, transparent, transparent 45%, red, transparent 55%, transparent 100%), linear-gradient(45deg, transparent, transparent 45%, blue, transparent 55%, transparent 100%);
background-size: 0.5em 0.5em;
}

 

 

分类:

技术点:

相关文章:

  • 2021-09-21
  • 2021-08-11
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-08-30
  • 2022-12-23
猜你喜欢
  • 2021-12-25
  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案