Modern CSS: Master the Key Concepts of CSS for Modern Web Development, 2nd Edition
- Добавил: literator
- Дата: 13-12-2025, 17:35
- Комментариев: 0
Автор: Joe Attardi
Издательство: Apress
Год: 2025
Страниц: 371
Язык: английский
Формат: True PDF, True EPUB
Размер: 23.8 MB
Come on a tour of modern CSS. 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.
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 outs of CSS.
This new edition has been fully updated keeping in mind the changes that CSS has undergone in the last four years and the new features and APIs that have been introduced. The chapter on CSS grids has been updated extensively and now includes a section on CSS subgrids. The book will guide you through recent topics such as nested CSS rules, the :is and :has pseudo-classes, scroll-driven animations, container queries, and more.
The second edition has been updated throughout to add additional content about newer CSS features, make some clarifications, and fix some mistakes. Here’s what we’ll cover:
In Chapter 1, we’ll start at the very beginning and talk about what CSS is, how it works, and how stylesheets are structured. We’ll look at the DOM, the CSSOM, and the render tree.
In Chapter 2, we will cover CSS selectors. These are critical to understand. Selectors determine what CSS styles are applied to what elements. We’ll also explore the concept of specificity.
Once we’ve laid the groundwork, we’ll start to talk about CSS concepts in Chapter 3 like the box model, units, colors, and overflow. We’ll also look at CSS custom properties, better known as variables.
We’ll finally start applying styles in Chapter 4, where we’ll look at borders, box shadows, and opacity. We will see several ways to hide an element on the page.
In Chapter 5, we’ll learn all about backgrounds and gradients (which are a type of background image).
Chapter 6 deals with the important topic of styling text. We’ll learn about text styles and layout, as well as how to use web fonts.
We’ll see how to lay out and position elements in Chapter 7. This covers the different positions such as static, relative, absolute, fixed, and sticky. Also, in this chapter, we’ll see the topic of stacking contexts and Z-index, which often trip up even experienced developers (including the author!).
In Chapter 8, we’ll cover CSS transforms. This allows you to apply transformations such as rotation, scale, and skew to elements.
...
Finally, Chapter 13 will cover some miscellaneous CSS topics that didn’t fit elsewhere in the book.
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.
Скачать Modern CSS: Master the Key Concepts of CSS for Modern Web Development, 2nd Edition
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.
