The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Help adding font weight to compass mixin.
So using the standard compass @font-face mixin.
@include font-face( ‘sp-medium’, font-files( ‘sp-medium.woff’, woff, ‘sp-medium.ttf’, ttf, ‘sp-medium.svg’, svg), ‘sp-medium.eot’ );
I would like to add
font-weight: normal; font-style: normal; -webkit-font-smoothing: antialiased;
But am getting errors when I just stick it places. Not sure how to do this. Thanks
The documentation actually says that it accepts font-weight and font-style directly in the mixin: http://compass-style.org/reference/compass/css3/font_face/#mixin-font-face
Dont know how missed that, thanks.