2016-12-16 41 views
-2

的CSS邊界半徑尋找模糊(像素輸出)。我使用的CSS邊境半徑尋找模糊

border: 1px solid #8d2034; 
-webkit-border-radius: 50%; 
-moz-border-radius: 50%; 
border-radius: 50%; 
width: 27px; 
height: 27px !important; 
/* float: left; */ 
text-align: center; 
padding: 0px !important; 
line-height: 26px; 
margin: 10px 10px 0px 0px; 

在錨標籤我有一個元素,我嘗試添加邊框半徑,以這種定位的標籤,但它亙古不變的似乎工作。可有人請help.please檢查此附件reference

+0

什麼是你的問題? –

+0

我正在使用css3 border radius屬性作爲錨標籤。我正在使用 .border radius無法正常工作。請檢查附件一次 – Mahadev

回答

0

i.fa{ 
 
    color: #8d2034; 
 
    border: 1px solid #8d2034; 
 
    -webkit-border-radius: 50px; 
 
    -moz-border-radius: 50px; 
 
    border-radius: 50px; 
 
    padding: 4px; 
 
}
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/> 
 

 

 
<i class="fa fa-pencil"></i> 
 
<i class="fa fa-bug"></i>