CSS Cascade Layers Vs. BEM Vs. Utility Classes: Specificity Control

Victor Ayomipo explores the idea of combining BEM and utility classes with Cascade Layers.
Victor Ayomipo explores the idea of combining BEM and utility classes with Cascade Layers.
Ana Tudor shows how to eliminate banding in CSS gradients by using SVG displacement maps to create a subtle, grainy texture.
Looking to stand out in a competitive job market? Codecademy can help you build in-demand technical skills and prepare for top industry certification tests from AWS, Microsoft, CompTIA, and more.
CSS Weekly readers can save 15% on a year of Codecademy Pro and get access to:
– 600+ interactive courses
– Step-by-step career guidance
– Industry certification prep
Try hands-on learning and get ready to unlock new career opportunities — just use code SKILLUP15 at checkout for 15% off
I’ve been exploring various coding approaches using AI tools recently and realized that there’s much more potential in those tools than I initially thought. I want to dig deeper and explore more, and as with CSS, I want to share what I learn with you. It will be hand-curated with only the top-quality content.
If you want to stay in the loop (and I believe you can’t afford not to), sign up for the AI Developer Weekly newsletter today.
A quick tip showing you how to disable Cross-Origin Resource Sharing (CORS) in Google Chrome for testing purposes.
Learn how to use the Amelia WordPress plugin to easily create a user-friendly booking solution for you or your clients, with powerful features such as event list and booking calendar view, step-by-step booking wizard, recurring appointments, events, and more.
Sunkanmi Fafowora gives a nice overview of the CSS if()
Function.
Matt Zeunert explains how to use the Console tab in Chrome’s developer tools, starting from the basics before looking at many of its more advanced features.
Amit Sheen explains how the CSS corner-shape property can be useful in basic use cases, for advanced shape making, and shows how powerful the superellipse()
function is.
Chris Ferdinandi shares how he uses a mix of public and private cascade layers to provide CSS hooks for developers.
Jared Cunha explains how LLMs can lower the burden of writing useful alt text for images, with the right prompting.
56% of workers say scheduling a meeting is the only way to get information. With Jira, use AI to automatically add work from Slack, create subtasks, or attach relevant resources. So instead of scheduling a meeting, check the status in Jira. Easy.
State of CSS 2025 survey is now open. Take it today and help us define the future of CSS.
A UI library for people who love HTML, powered by modern CSS and Web Components.
Josetxu created another stunning, animated demo using only CSS.
Thank you so much for reading!
If you want to support this newsletter and my work, check out:
• CSS Stickers
• CSS Weekly on Buy Me a Coffee
• CSS Weekly on Patreon
• CSS Weekly YouTube Channel
• Mastering Linting
Happy coding,
Zoran Jambor