<style type="text/css">
table{
  border-collapse:collapse;
}
table, td, th{
  border:1px solid black;
}
</style>

为表格设置合并边框模型:border-collapse:collapse;

 

.nav-item:after {
    content: '';
    position: absolute;
    right: 16px;
    top: 5px;
    width: 5px;
    height: 5px;
    border: 1px solid #9b9b9b;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
}

向下的三角的实现方法:

原理就是画一个带边框的盒子 两个边不显示,旋转45度角

 

相关文章:

  • 2021-12-28
  • 2022-12-23
  • 2021-11-23
  • 2021-10-04
  • 2021-12-05
  • 2021-12-05
  • 2021-05-09
猜你喜欢
  • 2021-06-22
  • 2021-12-15
  • 2021-12-15
  • 2021-08-06
  • 2022-12-23
  • 2022-02-08
  • 2021-07-30
相关资源
相似解决方案