修饰CSS:
hr:before {
  content: "??";
}

hr:after {
  content: " This is an <hr> element";
}

关键就是使用:before和:after这两个伪类。

相关文章:

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