• # December 9, 2012 at 12:24 pm

    So I have a css file with all the @font-face blocks in it to keep them in one place and transfer them to save space. Anyhow, im trying to use @import to put it into other css files so I can access the fonts from within. Only problem is – you guessed it – its not working. Im assuming either @import was never intended for this kind of thing or im using it wrong, either way any help is appreciated.

    # December 9, 2012 at 1:38 pm

    This reply has been reported for inappropriate content.

    Let’s call your @font-face file fonts.css.

    Let’s call your importer file style.css.

    To be clear, if you copy/paste the code in fonts.css into style.css everything works.

    But if you have a line instead of the code in style.css saying:

    @import url(‘fonts.css’);

    It doesn’t work?

    # December 9, 2012 at 3:07 pm

    Fixed now – spelling error – had me going for ages

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.