實心圓設置參數
<!doctype?html>
<html>
<head>
<meta?charset="utf-8">
<title>border-radius</title>
<style?type="text/css">
div.circle{
????height:100px;/*與width設置一致*/
????width:100px;
????background:#9da;
????border-radius:100px;/*四個圓角值都設置為寬度或高度值的一半*/
????}
/*任務部分*/???
div.semi-circle{?
????height:100px;
????width:50px;
????background:#9da;
????border-radius:?;
????}
???
</style>
</head>
<body>
<div?class="circle">
</div>
<br/>
<!--任務部分-->
<div?class="semi-circle">
</div>
</body>
</html>實心圓設置為寬度高度一樣的值也是可以的呢~~~
2015-01-30
就是啊,值只要超過50都是實心圓啊,可能寬高給限制了