zoukankan      html  css  js  c++  java
  • 四分之一圆border-radius的用法

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>四分之一圆</title>
    <style>
    /*画四分之一圆*/
    .yuan1{
    200px;
    height:200px;
    border-radius:0 100% 0 100%;
    background:#F00;

    }
    .yuan2{
    200px;
    height:200px;
    border-radius:100% 0 0 0;
    background:green;

    }
    .yuan3{
    200px;
    height:200px;
    border-radius:0 100% 0 0;
    background:#234edc;

    }
    .yuan4{
    200px;
    height:200px;
    border-radius:0 0 100% 0;
    background:#F0f;

    }
    .yuan5{
    200px;
    height:200px;
    border-radius:0 0 0 100%;
    background:#Ff0;

    }
    .yuan6{
    100px;
    height:100px;
    border-radius:100% 100% 0 0;
    background:#Ff0;

    }
    .yuan7{
    200px;
    height:200px;
    border-radius:100% 0 100% 0;
    background:#00F;

    }
    .yuan8{
    200px;
    height:100px;
    border-radius:100px 0 100px 0;
    background:#00F;
    }
    .yuan9{
    200px;
    height:100px;
    border-radius:100px 100px 0 0;
    background:#ff6633;
    }
    </style>
    </head>
    <body style="background:#000;">
    <div class="yuan1"></div>
    <div class="yuan2"></div>
    <div class="yuan3"></div>
    <div class="yuan4"></div>
    <div class="yuan5"></div>
    <div class="yuan6"></div>
    <div class="yuan7"></div>
    <div class="yuan8"></div>
    <div class="yuan9"></div>
    </body>
    </html>

  • 相关阅读:
    Linux下对拍(A+B问题)
    洛谷 P1043 数字游戏 区间DP
    6.22 集训--DP复习一
    洛谷 P1220 关路灯 区间DP
    A*算法求K短路模板 POJ 2449
    点分治模板 POJ 1741
    HDU
    棋子游戏 51Nod
    数论习题总结
    CodeForces
  • 原文地址:https://www.cnblogs.com/studyh5/p/7910492.html
Copyright © 2011-2022 走看看