我在將圖標容器中的橙色籃球中心置於困境。您可以通過此鏈接查看此活動的標題Website。正如你所看到的,籃球不會保持中心。如果我增加字體的大小,它也會啓動。另外,如果你往下看頁面的底部,我實際上有相同的設置,除了字體稍大,但看起來很好。即使我放大字體大小,這應該工作。html容器內部的中心字體圖標
HTML
<a title="MAYB Sanctioned Event" rel="nofollow" href="#mayb-sanctioned" class="btn"><i class="icon-ebt-container"><i class="icon-ebt-maybback"></i><i class="icon-ebt-maybmiddle"></i><i class="icon-ebt-maybfront"></i></i></a>
CSS
.icon-ebt-container {
position: relative;
}
.icon-ebt-maybfront:before {
color: #003F5F;
content: "\69";
}
.icon-ebt-maybmiddle:before {
color: #000000;
content: "\70";
position: absolute;
left:0;
top: -2px;
}
你的網站鏈接是本地主機。 – 2015-02-07 15:04:57
謝謝先生,更新了生活。 – 2015-02-07 15:13:10