Chapter 5Cascading Style Sheets

It’s hard to talk about front-end web development without talking about Cascading Style Sheets (CSS) and their ability to alter and improve the user experience. As CSS has gotten more powerful over the years, it’s made it possible to create amazing layouts and effects with less JavaScript code and more CSS styling. Because of the power of CSS, integration with CSS has become an increasingly important part of front-end development. In this chapter, we’re going to take a look at how we can make CSS part of our build and use it to add neat effects, and further make our components self-contained.

CSS is a big topic, and covering all of it is well beyond the scope of this book. As such, I’m going to assume you are ...

Get Modern Front-End Development for Rails now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.