其他分享
首页 > 其他分享> > css实现半圆和圆

css实现半圆和圆

作者:互联网

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>半圆角</title>
    <style type="text/css">
        div{
            width: 100px;
            height: 50px;
            background-color: blue;
            border-radius: 100px 100px 0 0;
        }
    </style>
</head>
<body>
<div></div>
</body>
</html>

结果如下:

标签:blue,实现,50px,100px,height,width,半圆,css
来源: https://blog.csdn.net/qq_20757489/article/details/88079608