html尖角提示框的实现<style type="text/css">
        .box {
            background-color: #bebf22;
            width: 200px;
            position: relative;
            top: 100px;
            left: 100px;
        }
        .tip-content {
            padding: 0 10px;
            font: 14px/30px arial;
        }
        .angle {
            position: absolute;
            border: 10px solid transparent;
            _border-color: #fff;
            font-size: 0;
            border-bottom-color: #bebf22;
            left: 12%;
            top: -20px;
            _top: -22px;
        }
    </style>

 <div class="box">
        <span class="angle"></span>
        <span class="tip-content">some tip content is here!</span>
    </div>

相关文章:

  • 2021-08-15
  • 2021-04-08
  • 2021-08-05
  • 2021-06-20
  • 2021-05-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
相关资源
相似解决方案