Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

EPUB: CSS

via LinkedIn Learning

Overview

CSS is the best and most flexible way to visually present ebooks. Learn how to style your EPUBs—including text, graphics, and background elements—exactly as you want with CSS.

Syllabus

Introduction
  • Welcome
  • What you should know before watching this course
  • Quick references
  • Using the exercise files
1. The Fundamentals
  • What is CSS?
  • Understanding the relationship between CSS and EPUB
  • Understanding the concept of inheritance
  • Taking a look at the basic anatomy of a CSS rule
  • Working with three basic CSS selectors
  • Working with more advanced compound selectors
  • Targeting elements with group selectors
  • Understanding descendant selectors
  • Using classes and IDs with compound selectors
  • Discovering how Cascading Style Sheets are implemented
  • Incorporating @ directives in CSS
  • Understanding fixed and relative units
  • Understanding the CSS box model
  • Including comments inside CSS
  • Writing more efficient code with shorthand notation
2. Working with Text
  • Understanding the special environment of the EPUB reading system
  • Looking at the essential text-related properties
  • Working with sizing
  • Working with alignment
  • Including margins and padding
  • Styling a heading
  • Working with fine typographic controls
  • Including paragraph indents
  • Handling text hyphens, widows, and orphans
  • Working with additional font properties
3. Working with Graphics
  • Specifying colors in CSS
  • Incorporating document borders
  • Using CSS to include images
  • Working with background properties
  • Challenge: CSS graphics
  • Solution: CSS graphics
4. Diving Deeper
  • Styling lists
  • Challenge: Styling a list
  • Solution: Styling a list
  • Writing smarter rules
  • Understanding the concept of positioning
  • Positioning: Relative
  • Positioning: Absolute and fixed
  • Positioning: Float
  • Clearing floats
  • Working with some clever CSS selectors
  • Incorporating page breaks
  • Figuring out CSS support levels on specific devices
  • Challenge: Funky floats
  • Solution: Funky floats
Conclusion
  • Next steps

Taught by

Tony Harmer

Reviews

Start your review of EPUB: CSS

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.