#cssWish to be able to do:

[type='radio|checkbox'] {}

instead of:

[type='radio'], [type='checkbox'] {}

#CSS #code #coding #frontend #web #dev #cssSelector #webDevelopment #webDev

๐Ÿ”ต๐ŸŸก๐Ÿ”ด CSS selectors
by @Frontendly
Uncover a new #CSSselector:
Short Video - A quick tutorial to learn the selector.
Quiz - A fun way to test what you learn.
By the end, you will have mastered 24 essential #CSS selectors, empowering your frontend journey!

https://css-selectors.dev/advent-calendar/2024

CSS Selectors

Learn, practice, master - CSS Selectors for simpler coding and become a CSS hero

#tinyCSStip

Range input browser inconsistencies may mean needing different styles for different browsers. Possible for track & thumb via different pseudos, but what about the actual range input?

Well, `@โ€‹supports selector()` to the rescue!

Live test on @codepen

#CSS #HTML #cssSelector #code #frontend #webDev #web #dev #webDevelopment #coding

#cssGotcha `:has()` cannot be nested!

From the spec: `:has()` is not valid within `:has()`.

#CSS #gotcha #code #coding #frontend #webDev #dev #web #webDevelopment #cssSelector

#tinyCSStip

`:is()` is such a great new-ish #CSS feature that helps eliminate repetition in selectors โœจ

#code #coding #frontend #cssSelector #web #dev #webDev #webDevelopment

๐Ÿ”ด๐ŸŸข CSS :has() Interactive Guide
by Ahmad Shadeed @shadeed9
An extensive guide to CSS :has() selector.
#has #CSSselector #css #webdev

https://ishadeed.com/article/css-has-guide

CSS :has() Interactive Guide

Everything you need to know about CSS :has() selector.

๐Ÿ”ต What exactly is :root pseudo-element in CSS?
by @zoranjambor at @CSSWeekly
A brief guide outlining how :root pseudo-class in CSS works, where it's often used and why, along with potential pitfalls.
#css #CSSselector #root #webdev

https://youtu.be/lXUS5E4gqV0

What exactly is :root pseudo-element in CSS?

YouTube

๐Ÿ‹๐Ÿฅญ A CSS selector to highlight clickable elements
Sebastian De Deyne @sebdedeyne @sebdd
#cssSelector #highlight #webdev

https://sebastiandedeyne.com/a-css-selector-to-highlight-clickable-elements/

A CSS selector to highlight clickable elements

I was building wireframes for a website with HTML & CSS. Since itโ€™s a prototype, not all actions are functional. When a visitor reviewing the prototype tries to click something that isnโ€™t hooked up, I wanted to clarify what they could interact with. This also allows visitors to click โ€ฆ

#joomla #css #cssselector styling com_user
div[class*="com-users-"]:not(.control-group)