白眼效果的代碼打出來為啥是一個全黑的八邊形而不是圓形呢
<style type="text/css">
.eye{width:150px;height:150px;
padding:10px;
border-radius:50%;
background-color:black;
background-clip:content-box;}
</style>
<body>
?
?
?<div class="eye">
?</div>
<style type="text/css">
.eye{width:150px;height:150px;
padding:10px;
border-radius:50%;
background-color:black;
background-clip:content-box;}
</style>
<body>
?
?
?<div class="eye">
?</div>
2017-04-26
舉報
2020-02-11
少了這個邊框線 border:?10px?solid?;?
2017-04-26
你的CSS代碼里差邊框border屬性值;至于為啥是八邊形,可能是你瀏覽器的問題,具體的為啥不清楚。