Avoid This Coding Pattern in CSS!

Published: 02 February 2024
on channel: Dmitry Mayorov
1,028
84

In this video, we're tackling a common CSS practice that might seem smart at first glance but can create headaches in the long run: using parent references to concatenate class names. While popular in projects using PostCSS or Sass, this method complicates code maintainability and readability.

Chapters:
0:00 – Introduction
0:14 – Demonstrating the Pattern
0:54 – The Appeal of This Method
1:15 – Reasons to Avoid
1:15 – Compiles to Standard CSS
1:34 – Identifying the Main Issue
1:43 – The Significance of Searchable Class Names
2:42 – Emphasizing Simplicity


On this page of the site you can watch the video online Avoid This Coding Pattern in CSS! with a duration of hours minute second in good quality, which was uploaded by the user Dmitry Mayorov 02 February 2024, share the link with friends and acquaintances, this video has already been watched 1,028 times on youtube and it was liked by 84 viewers. Enjoy your viewing!