Come on a tour of "modern" CSS in 2020. This example-driven book demonstrates the concepts by showing code examples, screenshots, and diagrams to help clearly communicate the information.
You'll start with the very basics of CSS: box model, colors, selectors and combinators, and specificity. Then gradually move through more intermediate topics - styling text, positioning, Z-index and stacking contexts, gradients, borders, and then to more advanced topics such as transforms, transitions, animations, flexbox, and CSS grid. Some features are only available in modern browsers (Chrome, Edge, Safari, and Firefox), but information about IE11 compatibility is included where possible.
There is a lot of discussion about how hard CSS is, and how intimidated some people are by it, but it doesn't have to be this way.
Modern CSS uses a logical and understandable approach to break down and clearly explain the ins and outsof CSS.
What You'll Learn
- Work with the syntax of CSS selectors and calculate specificity
- Use styling techniques, fonts and text styling
- Review custom properties (variables)
- Explore the different ways an element can be transformed
- Use animating elements with CSS transitions
- Position elements using Flexbox layout
- Understand the basics of responsive design
Who This Book Is For
Anyone who has some experience with HTML, and some CSS, but might not be familiar with some of the newer concepts like flexbox or grid. Also, those looking for a refresher in those areas.
Author: Joe Attardi
Binding Type: Paperback
Publisher: Apress
Published: 10/07/2020
Pages: 289
Weight: 1.2lbs
Size: 10.00h x 7.00w x 0.65d
ISBN: 9781484262931
About the AuthorJoe Attardi is a software engineer specializing in front-end development. He has over 15 years' experience working with JavaScript, HTML, and CSS, and has worked extensively with front-end technologies such as Angular and React. He currently works at Salesforce, and has worked in the past with companies such as Dell and Nortel. He is also the author of
Using Gatsby and Netlify CMS (Apress, 2020). He lives in the Boston area with his wife and son. You can find him on Twitter at @JoeAttardi.