【css画圆圈用线连接】

CSS画圆圈用线连接

画圆圈中间有数字1.2.3.之间用线连接

在这里插入图片描述

1画圆

.circle1_circle{
    /*border-radius: 50%;  */

    display: inline-block;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: 2px solid #05BBC9;
    box-sizing: border-box;
    border-radius: 27px;
    vertical-align: middle;
}

边框的弧度时画圆的关键 border-radius: 27px;可以改成
border-radius: 50%;
设置边框的颜色和粗细,圆就变成圆圈border: 2px solid #05BBC9;

2,圆里的数字

.circle1_1{
    display: block;

    text-align: center;

    width: 35px;
    height: 28px;


    font-family: PingFang SC;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 35px;
    vertical-align: middle;

  

    color: #05BBC9;
}

## 用线连接

  display: inline-block;
    width: 220px;

    /*transform: translate(200px,300px)rotate(0deg);*/
    transform-origin: center;




    height: 2px;
    left: 1029px;
    top: 342px;

    background: #D7E4E9;
    border-radius: 6px;
}

欢迎私信交流学习,感谢支持

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值