2016-12-16 8 views
-2

CSSの境界半径探しブラー(画素アウトは、i)要素を有しているアンカータグ内の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; 

を使用.I、私は、このアンカータグに境界半径を追加しようとしたが、それはに見えるdoesnot誰かがhelp.pleaseこの添付ファイルをチェックしてくださいreference

+0

を.Can働くあなたの質問は何ですか? –

+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>

関連する問題