css3 怎么画这个拱形图

https://img.mukewang.com/5b4602f6000193b103660255.jpg

css3 怎么画这个拱形图

慕田峪9158850
浏览 1117回答 1
1回答

ABOUTYOU

<!DOCTYPE html><html><head>&nbsp; <meta charset="UTF-8">&nbsp; <meta name="viewport" content="width=device-width, initial-scale=1.0">&nbsp; <meta http-equiv="X-UA-Compatible" content="ie=edge">&nbsp; <title>Document</title>&nbsp; <style>&nbsp; &nbsp; body {&nbsp; &nbsp; &nbsp; padding: 100px;&nbsp; &nbsp; }&nbsp; &nbsp; .box {&nbsp; &nbsp; &nbsp; width: 300px;&nbsp; &nbsp; &nbsp; height: 200px;&nbsp; &nbsp; &nbsp; position: relative;&nbsp; &nbsp; &nbsp; overflow: hidden;&nbsp; &nbsp; }&nbsp; &nbsp; .box .c1 {&nbsp; &nbsp; &nbsp; width: 500px;&nbsp; &nbsp; &nbsp; height: 500px;&nbsp; &nbsp; &nbsp; background: #0f0;&nbsp; &nbsp; &nbsp; border-radius: 50%;&nbsp; &nbsp; &nbsp; left: -100px;&nbsp; &nbsp; &nbsp; top: 0;&nbsp; &nbsp; &nbsp; position: absolute;&nbsp; &nbsp; }&nbsp; &nbsp; .box .c2 {&nbsp; &nbsp; &nbsp; width: 1500px;&nbsp; &nbsp; &nbsp; height: 1500px;&nbsp; &nbsp; &nbsp; background: #fff;&nbsp; &nbsp; &nbsp; border-radius: 50%;&nbsp; &nbsp; &nbsp; left: -600px;&nbsp; &nbsp; &nbsp; top: 80%;&nbsp; &nbsp; &nbsp; position: absolute;&nbsp; &nbsp; }&nbsp; </style></head><body>&nbsp; <div class="box">&nbsp; &nbsp; <div class="c1"></div>&nbsp; &nbsp; <div class="c2"></div>&nbsp; </div></body></html>css3不熟悉,好歹效果有点像,哈哈
打开App,查看更多内容
随时随地看视频慕课网APP