Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49184

Custom Fonts In Ionic

$
0
0

@technotip wrote:

I read some posts online and on this forum too about using custom fonts ..tried so many ways but no luck so far.

Is there any one who implemented this with the latest version of IONIC?

Am simply posting my code, in case it's helpful to debug

@font-face {
    font-family: 'Bariol';
    src: url('..lib/ionic/fonts/Bariol.eot');
    src: url('..lib/ionic/fonts/Bariol.eot') format('embedded-opentype'),
         url('..lib/ionic/fonts/Bariol.woff2') format('woff2'),
         url('..lib/ionic/fonts/Bariol.woff') format('woff'),
         url('..lib/ionic/fonts/Bariol.ttf') format('truetype'),
         url('..lib/ionic/fonts/Bariol.svg#Bariol') format('svg');
}

* {
    font-family: 'Bariol', 'open sans', verdana, helvetica, georgia, sans-serif;
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>