O'Reilly logo

Mastering React by Ryan Vice, Adam Horton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reusable components and base styles

Grab the ch6.zip file to follow along. Much of the CSS is either self-explanatory or beyond our target scope for this text. The top-level application Less/CSS is covered here. It includes the base styles for commonly used tags and overall layout. Later, the .less files are called out in the file manifests but not in the chapter code listings. As the application building chapters progress, all of the code, including .less files, can be found in the .zip file for each respective chapter.

Base styles

The base styles, variables, mixins, and vendor styles, are comprised of these files: app.less, colors.less, mixins.less, quill.snow.less, and normalize.less. The main application .less file, app.less , contains the primary ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required