Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @font-face {
- font-family: 'YourFontName'; /*a name to be used later*/
- src: url('http://domain.com/fonts/font.ttf'); /*URL to font*/
- }
- .classname {
- font-family: 'YourFontName';
- }
- @font-face {
- font-family: "Yanone Kaffeesatz";
- src: url("../fonts/YanoneKaffeesatz-Regular.ttf");
- }
- @font-face {
- font-family: 'Comfortaa Regular';
- src: url('Comfortaa.eot');
- src: local('Comfortaa Regular'),
- local('Comfortaa'),
- url('Comfortaa.ttf') format('truetype'),
- url('Comfortaa.svg#font') format('svg');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement