Alternatives to the “!important” Keyword, by @csstricks:
https://css-tricks.com/alternatives-to-the-important-keyword/
Alternatives to the “!important” Keyword, by @csstricks:
https://css-tricks.com/alternatives-to-the-important-keyword/
The Different Ways to Select “<html>” in CSS, by @dxnny.fun (@csstricks):
https://css-tricks.com/the-different-ways-to-select-html-in-css/
Selectors Level 5, by @fantasai and @tabatkins.com (@w3c):
Style Headings Using the CSS “:heading” Pseudo-Class, by @sturobson:
https://www.alwaystwisted.com/articles/styling-with-the-heading-pseudo-class
Phil Mongredien writing for the Guardian. (below)
I don't get paid a dime to dj or run a community radio station, so I'm entitled to sit on the fence.
#dj #djs #selectors
Событийный цикл в asyncio: как Python-код работает поверх механизмов Linux
Большая статья для тех, кто, как и я, споткнулся об asyncio и так не разгадал до конца "магию" событийного цикла. Попробовал распутать этот клубок через подробный рассказ (в как можно более доступной форме) о внутренних механизмах Линукса и самого asyncio, которые лежат в основе событийного. К концу статьи, надеюсь, магия исчезнет, а останется ясное понимание фундамента. Погружаемся
https://habr.com/ru/articles/995032/
#asyncio #python #epoll #selectors #асинхронность #event_loop #eventloop #linux #сокеты
Focus Rings With Nested “contrast-color()”?, by @davatron5000:
https://daverupert.com/2026/01/nested-contrast-color-focus-rings/
As I was playing around with contrast-color(), I got a wild idea that you could use contrast-color() to invert its return value by nesting it: contrast-color(contrast-color(var(--some-color)). When would this be useful? Uh… Good question. I couldn’t come up with an example right away but after a bit I found one sitting right under my nose….
How to Style the New “::search-text” and Other Highlight-y Pseudo-Elements, by @dxnny.fun (@csstricks):
https://css-tricks.com/how-to-style-the-new-search-text-and-other-highlight-pseudo-elements/
For custom properties (aka CSS variables) we got into the habit of declaring variables in a rule with a <code>:root</code> selector. Yet unless you’re working in an environment in which style sheets serve several document types (and roots), question this use of <code>:root</code>.
𝗰𝘀𝘀-𝘀𝗲𝗹𝗲𝗰𝘁𝗼𝗿𝘀:
#CSS #Selectors #Visual #CSS-selectors
https://thewhale.cc/posts/css-selectors
Here's a visual guide to the most popular CSS selectors.