문제

I am trying to include Zurb Icon Fonts 3 into my Moovweb project. First off, is it supported? Second, what do I have to do to get them to work. I have tried a few different combinations of importing them, but each time it brings up a blank local host page.

Thank you in advance.

도움이 되었습니까?

해결책

One way to do this is to create a fonts folder under the assets/images folder where you would place the foundation fonts.

Then you would include the foundation-icons.scss file in the stylesheets folder, but rename it so it's a partial: _foundation-icons.scss

Edit the references in _foundation-icons.scss so they point to image-url("fonts/foundation-icons.ttf"), etc.

Then you can @import "_foundation-icons.scss"; so the styles get compiled in your main stylesheet.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top