美文网首页
css画圆弧

css画圆弧

作者: 嗳湫 | 来源:发表于2021-03-29 18:07 被阅读0次
    <template>
        <div class="container">
          <div class="container-bg"></div>  
        </div>
    </template>
    <script>
    export default {
        data() {
            return {
            };
        },
        methods: {
        }
    };
    </script>
    
    <style>
     .container {
       width: 750rpx;
       height: 100%;
       display: flex;
       flex-direction: column;
       align-items: center;
       background: #F8F8F8;
     }
     .container-bg {
       width: 750rpx;
       height: 346rpx;
       position: relative;
       background-color: #20A0FF;
       position: absolute;
       left: 0;
       top: 0;
       border-radius: 0 0 640rpx 640rpx/0 0 80rpx 80rpx;
     }
    </style>
    
    image.png

    相关文章

      网友评论

          本文标题:css画圆弧

          本文链接:https://www.haomeiwen.com/subject/cjobhltx.html