I have a directory called project
and in it i have the directories html
,assets
and javascript
.The assets directory
has the directories fonts
and css
.The css
directory has a css file called typography.css
.The fonts directory has all the fonts i am using.
Inside the html
directory i have a file typography.html
. To use the fonts i am using this code inside typography.css
which is correctly linked/referenced in my html file.However this code inside typography.css
@font-face {
font-family: "LatoLight";
src: url('../fonts/lato-light-webfont.eot') format("embedded-opentype"), url('../fonts/lato-light-webfont.woff') format("woff"), url('../fonts/lato-light-webfont.ttf') format("truetype"), url('../fonts/lato-light-webfont.svg') format("svg");
}
h1{ font-family: LatoLight !important; }
does not produce the desired result.I am using twitter bootstrap 3.Why is this not working?.