JSFiddle - React, Tailwind, and code Playground
by ongisnade
HTML
<nav id="mainNav">
<ul class="grid_0">
<li>
<a href="http://www.website.com">Home</a>
</li>
</ul>
</nav>
CSS
/*
@font-face {
font-family: 'Lato';
src: url('http://www.website.com/fonts/ca/Lato-Reg-webfont.eot');
src: url('http://www.website.com/fonts/ca/Lato-Reg.ttf') format('truetype'),
url('http://www.website.com/fonts/ca/Lato-Reg-webfont.eot?#iefix') format('embedded-opentype'),
url('http://www.website.com/fonts/ca/Lato-Reg-webfont.woff') format('woff'),
url('http://www.website.com/fonts/ca/Lato-Reg-webfont.svg#LatoRegular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'LatoBold';
src: url('http://www.website.com/fonts/ca/Lato-Bol-webfont.eot');
src: url('http://www.website.com/fonts/ca/Lato-Bol.ttf') format('truetype'),
url('http://www.website.com/fonts/ca/Lato-Bol-webfont.eot?#iefix') format('embedded-opentype'),
url('http://www.website.com/fonts/ca/Lato-Bol-webfont.woff') format('woff'),
url('http://www.website.com/fonts/ca/Lato-Bol-webfont.svg#LatoBold') format('svg');
font-weight: normal;
font-style: normal;
}
*/
@font-face {
font-family: 'LatoBold';
font-style: normal;
font-weight: 700;
src: local('Lato Bold'), local('Lato-Bold'), url(http://themes.googleusercontent.com/static/fonts/lato/v6/wkfQbvfT_02e2IWO3yYueQ.woff) format('woff');
}
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: local('Lato Regular'), local('Lato-Regular'), url(http://themes.googleusercontent.com/static/fonts/lato/v6/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff');
}
nav ul li{
font-family: 'LatoBold', sans-serif;
}