From the course: EPUB: CSS

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Incorporating @ directives in CSS

Incorporating @ directives in CSS - InDesign Tutorial

From the course: EPUB: CSS

Start my 1-month free trial

Incorporating @ directives in CSS

- You may see or need to include, depending, of course, on what you're doing @Directives in your CSS. And so, those you're most likely to see because there are quite a few of them include the trio now on the screen. So @font-face, for example allows you to link to fonts that would be then activated in the reading system and you might have included those in your EPUB. @charset defines the character set of the document, so which version of unicode is, for example, as it would be in English, typically UTF-8. And @import, which includes the contents of another file which may be another CSS document. You might have one overarching CSS document for the entire book, but it is conceivable you might have separate CSS documents to override some of those instructions inside of each individual chapter. If you are using them, and these, as I said, aren't the only ones that exist but they are the most typical ones you're likely to find, it's important you understand they have to go into the CSS…

Contents