欢迎光临
我们一直在努力

伪元素不显示,是因为缺少了fontawesome-webfont.woff 文件

@font-face {  font-family: ‘FontAwesome’;  src: url(‘../font/fontawesome-webfont.eot?v=3.2.1’);  src: url(‘../font/fontawesome-webfont.eot?#iefix&v=3.2.1′) format(’embedded-opentype’), url(‘../font/fontawesome-webfont.woff?v=3.2.1’) format(‘woff’), url(‘../font/fontawesome-webfont.ttf?v=3.2.1’) format(‘truetype’), url(‘../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1’) format(‘svg’);  font-weight: normal;  font-style: normal;}/* FONT AWESOME CORE * ————————– */[class^="icon-"],[class*=" icon-"] {  font-family: FontAwesome;  font-weight: normal;  font-style: normal;  text-decoration: inherit;  -webkit-font-smoothing: antialiased;  *margin-right: .3em;}[class^="icon-"]:before,[class*=" icon-"]:before {  text-decoration: inherit;  display: inline-block;  speak: none;}/* makes the font 33% larger relative to the icon container */.icon-large:before {  vertical-align: -10%;  font-size: 1.3333333333333333em;}/* makes sure icons active on rollover in links */a [class^="icon-"],a [class*=" icon-"] {  display: inline;}/* increased font size for icon-large */[class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width {  display: inline-block;  width: 1.1428571428571428em;  text-align: right;  padding-right: 0.2857142857142857em;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large {  width: 1.4285714285714286em;}.icons-ul {  margin-left: 2.142857142857143em;  list-style-type: none;}

未经允许不得转载:第五博客 » 伪元素不显示,是因为缺少了fontawesome-webfont.woff 文件
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

更专业 更方便

联系我们