盒子模型边框及画圆练习

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>练习</title>

<link rel="stylesheet" href="./00.css">

</head>

<body>

<div class="cir"></div>

<div class="cir1"></div>

<div class="cir2"></div>

<div class="cir3"></div>

<div class="cir4"></div>

<div class="cir5"></div>

<div class="cir6"></div><br>

<div class="cir7"></div>

<div class="cir8"></div>

<br><br><br><br><br>

<hr>

<div class="cir9"></div>

<div class="cir10"></div>

<div class="cir11"></div>

<div class="cir12"></div>

<br><br><br><br><br><br><br><br><br>

</body>

</html>

cir {

width: 200px;

height: 200px;

background-color: rgb(247, 8, 48);

border-radius: 50% 50%;

}

.cir1 {

width: 200px;

height: 100px;

background-color: rgb(151, 247, 7);

border-radius: 100px 100px 0 0 ;

}

.cir2 {

width: 100px;

height: 200px;

background-color: rgb(117, 189, 8);

border-radius: 100px 0 0 100px ;

}

.cir3 {

width: 100px;

height: 200px;

background-color: rgb(74, 119, 7);

border-radius: 0 100px 100px 0 ;

}

.cir4 {

width: 200px;

height: 100px;

background-color: greenyellow;

border-radius: 0 0 100px 100px ;

}

.cir5 {

width: 100px;

height: 100px;

background-color: aqua;

border-radius: 100% 0 0 0;

}

.cir6 {

width: 100px;

height: 100px;

background-color: rgb(7, 94, 94);

border-radius: 0 100% 0 0;

}

.cir7 {

width: 100px;

height: 100px;

background-color: rgb(1, 49, 49);

border-radius: 0 0 100% 0;

}

.cir8 {

width: 100px;

height: 100px;

background-color: rgb(51, 221, 221);

border-radius:0 0 0 100% ;

}

.cir9 {

width: 0;

height: 0;

border:10px solid rgb(85, 6, 6);

border-color: rgb(17, 97, 97) transparent transparent transparent;

}

.cir10 {

width: 0;

height: 0;

border:10px solid red;

border-color: transparent rgb(100, 145, 11) transparent transparent;

}

.cir11 {

width: 0;

height: 0;

border:10px solid red;

border-color: transparent transparent rgb(100, 87, 9) transparent;

}

.cir12 {

width: 0;

height: 0;

border:10px solid red;

border-color: transparent transparent transparent rgb(159, 164, 167);

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值