0
点赞
收藏
分享

微信扫一扫

【Matlab】音频信号分析及FIR滤波处理——凯泽(Kaiser)窗

读思意行 2024-01-28 阅读 12
css前端

CSS三角形强化

    <style>
        .box1 {
             width: 0;
                height: 0;
            /*把上边框宽度调大*/
            border-top: 100px solid transparent;
            border-right: 50px solid skyblue;
            /*左边和下边的边框宽度设置为0*/
            border-bottom: 0 solid blue;
            border-left: 0 solid green;
        }
        /* .box1 {
            border-color: transparent red transparent transparent;
            border-style: solid;
            border-width: 100px 50px 0 0;
        } */
    </style>
<body>
    <div class="box1"></div>
</body>

案例:

    <style>
        .clearfix::after {
            content: "";
            display: block;
            clear: both;
        }
        .box {
            width: 140px;
            margin: 0 auto;
            border: 1px solid red;
        }
        .box .miaosha {
            position: relative;
            float: left;
            width: 70px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            background-color: red;
        }
        .box .yuanjia {
            float: left;
            width: 70px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            color: #ccc;
            font-size: 12px;
            text-decoration: line-through;
        }
        .box .miaosha i {
            position: absolute;
            top:0;
            right: 0;
            width: 0;
            height: 0;
            border-color:transparent white transparent transparent;
            border-style: solid;
            border-width: 20px  10px 0 0;
        }
    </style>
<body>
    <div class="box clearfix">
        <span class="miaosha">
            1690.00
        <i></i>
        </span>
        <span class="yuanjia">2000.00</span>
    </div>
</body>

举报

相关推荐

0 条评论