Lea Verou created this article for everybody who is thinking to create a dark mode for their website. Well explained and easy to follow.
Chris Coyier has created this guide on custom CSS properties. Make your CSS code more readable, cleaner and safe time changing stuff.
To the question ”Why care about CSS custom properties?” Chris writes …
- They help DRY up your CSS. That is “Don’t Repeat Yourself.” Custom properties can make code easier to maintain because you can update one value and have it reflected in multiple places. Careful though, overdoing abstraction can make have the opposite effect and make code less understandable.
- They are particularly helpful for things like creating color themes on a website.
- They unlock interesting possibilities in CSS.
If you are – like me – using VS Code and you like to create your own look and feel for the environment you use, then here is something to waste your time with (I can easily spend days with this stuff to create everything like I want it). 😁
⇾ Visit: Theme Studio for VS Code
Ahmad Shadeed has collected and written about some practical use cases for CSS variables that are more than “only” storing your color values for the use in your CSS.
I myself removed all analytics tools about two or three years ago from any of my websites. Florens Verschelde has now taken a look onto a few different, small and privacy-focused tools for us.
The CSS Working Group Editor’s Draft for Selectors Level 4 includes several pseudo-class selectors that already have proposal candidates in most modern browsers. This guide on Smashing Magazine, written by Stephanie Eckles, covers those that currently have the best support.
This is a quick guide by Paul Boag to help you creating a landing page that works for you. He covers:
- Define Your Calls to Action
- Understand Your Audience
- Outline Your Messaging
- Draft Your Content
- Design Your Content Flow
- Elicit the Right Reaction
- Launch, Monitor and Iterate
Accessibility is a critical skill for developers doing work at any point in the stack. For front-end tasks, modern CSS provides capabilities we can leverage to make layouts more accessibly inclusive for users of all abilities across any device.
A post by Stephanie Eckles, which covers:
- Focus Visibility
- Focus vs. Source Order
- Desktop Zoom and Reflow
- Sizing Interactive Targets
- Respecting Color and Contrast Settings
- Accessibility Learning Resources