您当前的位置: 首页 >  css

漏刻有时

暂无认证

  • 0浏览

    0关注

    717博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

CSS伪类的使用:标题下划线的纯CSS代码

漏刻有时 发布时间:2020-02-22 19:16:19 ,浏览量:0

在这里插入图片描述

        .title {
            color: #fff;
            font-size: 20px;
            line-height: 40px;
            height: 40px;
            text-align: center;
            position:relative;
        }

        .title:after {
            position: absolute;
            content: "";
            width: 30%;
            height: 1px;
            background: #fff;
            left: 35%;
            opacity: .4;
            bottom: 0;
        }
关注
打赏
1661217259
查看更多评论
立即登录/注册

微信扫码登录

0.0517s