我使用css真棒字體圖標(https://fortawesome.github.io/Font-Awesome/),我試圖用css規則繪製他們周圍的圓形或方形邊框。問題與繪製邊框CSS字體真棒圖標
<i class="fa fa-check-circle fa-5x fa-square"></i>
有針對性的CSS規則..
.fa-circle { color: #b0b0b0; border-radius: 50%; border: 10px solid #b0b0b0; padding: 0.5em; float:left; margin-right: 1em; }
.fa-square { color: #b0b0b0; border-radius:50%; border: 10px solid #b0b0b0; padding: 0.5em; float:left; margin-right: 1em; }
我從其他線程使用此行,但它 不管用。
text-rendering: optimizeLegibility;
如何解決?
使用瀏覽器前綴,因爲大多數的瀏覽器不支持新的css3屬性沒有前綴。 – Aparna
你能提供一個例子jsfiddle嗎?我認爲這應該只是工作,所以我希望你正在改變別的 – musefan
可能重複的[在圓形圈製作字體真棒圖標?](http://stackoverflow.com/questions/21905710/make-font-awesome-icons -in-的圓圈) –