hr中间插入字体

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

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

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

原文地址:https://www.cnblogs.com/GerryOfZhong/p/5219390.html