Designer sent me following css:
@font-face {
font-family: 'Proxima';
src: url('../fonts/ProximaNova-Reg-webfont.eot');
src: local('☺'), url('../fonts/ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/ProximaNova-Reg-webfont.woff') format('woff'), url('../fonts/ProximaNova-Reg-webfont.ttf') format('truetype'), url('../fonts/ProximaNova-Reg-webfont.svg') format('svg');
font-weight: normal;
font-style: normal;
}
In context of my question most important is the longest line starting with src: local. This is how it looks like in my style.css.scss:
src: local('☺'), font_url('ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'), font_url('ProximaNova-Reg-webfont.woff') format('woff'), font_url('ProximaNova-Reg-webfont.ttf') format('truetype'), font_url('ProximaNova-Reg-webfont.svg') format('svg');
And everything works fine locally, but when I push project to heroku I get following error:
Sass::SyntaxError: Invalid CSS after "...4561e1481029429": expected ")", was ".eot?#iefix) fo..."
I'm not that good at CSS to understand what this particular tiny piece of code means, but I guess designer had a reason to put it there. So what do I have to do to make it work and why it works locally (in development). And what is this line for? maybe I could just delete it?