亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

css3 怎么畫這個拱形圖

css3 怎么畫這個拱形圖

qq_花開花謝_0 2018-08-27 10:05:30
查看完整描述

1 回答

?
泛舟湖上清波郎朗

TA貢獻1818條經驗 獲得超3個贊

<!DOCTYPE html>

<html>

<head>

  <meta charset="UTF-8">

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

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

  <title>Document</title>

  <style>

    body {

      padding: 100px;

    }

    .box {

      width: 300px;

      height: 200px;

      position: relative;

      overflow: hidden;

    }

    .box .c1 {

      width: 500px;

      height: 500px;

      background: #0f0;

      border-radius: 50%;

      left: -100px;

      top: 0;

      position: absolute;

    }

    .box .c2 {

      width: 1500px;

      height: 1500px;

      background: #fff;

      border-radius: 50%;

      left: -600px;

      top: 80%;

      position: absolute;

    }

  </style>

</head>

<body>

  <div class="box">

    <div class="c1"></div>

    <div class="c2"></div>

  </div>

</body>

</html>

css3不熟悉,好歹效果有點像,哈哈

查看完整回答
反對 回復 2018-09-02
  • 1 回答
  • 0 關注
  • 765 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號