I am currently using the asset-pipeline from CodeSleeve to handle my style sheets in my Laravel project. I have successfully downloaded the application.css
file, but I have a question: how can I include images and use font-face in this setup?
Here is a snippet of my application.css file:
@font-face {
font-family: 'mrsMonster';
src: url('/fonts/mrsMonster/mrsmonster-webfont.eot');
src: url('/fonts/mrsMonster/mrsmonster-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/mrsMonster/mrsmonster-webfont.woff') format('woff'),
url('/fonts/mrsMonster/mrsmonster-webfont.ttf') format('truetype'),
url('/fonts/mrsMonster/mrsmonster-webfont.svg#mrs._monsterregular') format('svg');
font-weight: normal;
font-style: normal;
}
#h-navbar {
font-family: mrsMonster;
background: url('/images/banniere.png') no-repeat;
}