“selectors” Archive
(Need an explanation? Look for “selectors” at WebGlossary.info.)
- Making Content-Aware Components Using CSS “:has()”, Grid, and Quantity Queries (by/via) · · web-components, css, grids
- CSS “only-child” Instead of Conditional Logic (by) · · css, conditionals
- I Wasted a Day on CSS Selector Performance to Make a Website Load 2 ms Faster (by) · · css, performance
- Selecting Previous Siblings (by/via) · · css
- Time Travelling CSS With “:target” (via) · · css
- The Undeniable Utility of CSS “:has” (by) · · css, examples
- Double Your Specificity With This One Weird Trick (by) · · css, cascade, tips-and-tricks
- The “of S” Syntax in “:nth-child()” (by) · · css
- Wait, What’s the Difference Between “:host”, “:host()”, and “:host-context()”?! (by) · · web-components, css
- Thoughts on CSS in 2024 (by) · · css, resetting, logical-properties, custom-properties
- CSS Selectors (by/via) · · css, overviews
- Analyze CSS Selector Performance During Recalculate Style Events (via) · · user-agents, google, chrome, dev-tools, performance, css
- Display the Specificity of a CSS Selector (by/via) · · css, cascade, dev-tools, user-agents, google, chrome, microsoft, edge, apple, safari, mozilla, firefox
- CSS Specificity for WordPress 6.6 (by/via) · · discussions, wordpress, css, cascade
- CSS “:has()”, the God Selector (by) · · css
- A Brief Note on Highlighted Text (by) · · accessibility, colors, contrast, css
- Misconceptions About CSS Specificity (by/via) · · css, cascade
- Combining CSS “:has()” and HTML “<select>” for Greater Conditional Styling (by/via) · · css, html, techniques
- Use “:has()” to Scope CSS · · css, scope
- A Primer on the Cascade and Specificity (by/via) · · introductions, css, cascade
- Managing User Focus With “:focus-visible” (by/via) · · css, focus
- The Power of “:has()” in CSS (by/via) · · css
- New CSS That Can Actually Be Used in 2024 (by) · · css, logical-properties, container-queries, nesting, functions, cascade, grids
- Accessible Forms With Pseudo Classes (by/via) · · accessibility, forms, css
- Some Little Ways I’m Using CSS “:has()” in the Real World (by/via) · · css, examples
- Simplify Your CSS Using “:is()” and “:where()” Pseudo-Classes (by/via) · · videos, css
- CSS “:has()” Interactive Guide (by) · · guides, css
- CSS “::backdrop” Now Inherits From Its Originating Element (by/via) · · css
- Using Recursive CSS to Change Styles Based on Depth (by) · · css
- Big, Beautiful, Beefy Focus States With “:focus-visible” (by) · · css, focus
- Difference Between “getElementByID” and “querySelector” (by) · · javascript, css
- Combining “:has” and “:only-child” to Change Tab Containers (by) · · css
- Locking Scroll With “:has()” (by) · · css, scrolling
- We Can :has It All (by) · · css, user-agents, support
- Quantity Queries Are Very Easy With CSS “:has()” (by/via) · · css
- Browsers Only Update “:target” on Page Load and During Fragment Navigation (by/via) · · css
- Surprising Facts About New CSS Selectors (by/via) · · css
- Use the CSS “:disabled” Pseudo-Class Instead of the “[disabled]” Attribute Selector to Match Disabled Form Controls (by/via) · · css, forms
- “:fullscreen” Demo Without JavaScript (by) · · css
- Prodding Firefox to Update “:has()” Selection (by) · · css, mozilla, firefox, support
- Styling External Links With Attribute Selectors (by/via) · · links, css
- Limit the Reach of Your Selectors With the CSS “@ scope” At-Rule (by/via) · · css, at-rules, scope
- How to Escape CSS Selectors in JavaScript (by) · · how-tos, css, javascript, escaping
- CSS Lobotomized Owl Selector: A Modern Guide (by/via) · · css, guides, history
- Combining “:placeholder-shown” and “:has” (by) · · css, forms
- CSS Selectors: A Visual Guide (by) · · guides, css
- Faking a “:snapped” Selector With Scroll-Driven Animations (by/via) · · css, animations, scrolling
- What Exactly Is [the] “:root” Pseudo-Element in CSS? (by/via) · · videos, css
- Using Multiple Selectors With JavaScript Selector Methods (by) · · javascript
- Style Recalculation Secrets They Don’t Want You to Know (by/via) · · videos, css, performance
- How Blink Invalidates Styles When “:has()” [Is] in Use (by/via) · · user-agents, browser-engines, rendering, blink, css
- Stop Rewriting Your CSS! Use “:not()” Instead (by/via) · · videos, css, maintenance
- Conditional CSS With “:has” and “:nth-last-child” (by) · · css
- How “:not()” Chains Multiple Selectors (by/via) · · css
- An Introduction to the “:has()” Selector in CSS (by/via) · · introductions, css
- Exploring “:has()” Again (by/via) · · css
- CSS: Tricks for Targeting Elements With CSS (by) · · css, tips-and-tricks
- A CSS Selector to Highlight Clickable Elements (by) · · css
- When Is “:focus-visible” Visible? (by) · · accessibility, css
- DevTools: Faster Searching in DevTools With CSS Selectors (by) · · dev-tools, css, user-agents, google, chrome
- Selecting Previous Siblings With CSS “:has()” (by) · · css
- Use the Child-Element Count in CSS (by) · · css
- “(255,255,255)” Is the Highest Specificity (by/via) · · css, cascade
- Create a Rainbow-Coloured List With “:nth-of-type()” (by) · · css, colors
- More Control Over “:nth-child()” Selections With the “of S” Syntax (by/via) · · css
- A “nth-child” CSS Trick (by) · · css, tips-and-tricks
- Level Up Your CSS Skills With the “:has()” Selector (by/via) · · css
- More Real-World Uses for “:has()” (via) · · css
- Solved With “:has()”: Vertical Spacing in Long-Form Text (via) · · css
- Using “:is()” in Complex Selectors Selects More Than You Might Initially Think (by/via) · · css
- The Truth About CSS Selector Performance (by/via) · · css, performance
- Sibling Scopes in CSS, Thanks to “:has()” (by/via) · · css
- “:has” Is an Unforgiving Selector (by/via) · · css
- CSS “:readonly” Is Not for Select Fields (by) · · css
- CSS “:empty” Isn’t Applicable on Form Fields (by) · · css, forms
- CSS “:has()” Feature Detection With “@ supports(selector(…))”: You Want “:has(+ *)”, Not “:has(*)” (by/via) · · css, at-rules, feature-detection
- Styling a “pre” That Contains a “code” (by) · · css
- 4 Ways CSS “:has()” Can Make Your HTML Forms Even Better (by) · · css, html, forms
- A “:nth-child(An+B [of S]?)” Polyfill Thanks to CSS “:has()” (by/via) · · css, polyfills
- Testing for the Support of a Selector (by) · · css, support
- “:has(:not())” vs. “:not(:has())” (by) · · css, comparisons
- CSS “:is()”, “:where()”, “:has()”, and “:not()” · · css
- Taming the Cascade With BEM and Modern CSS Selectors (via) · · css, cascade, naming, bem
- Style a Parent Element Based on Its Number of Children Using CSS “:has()” (by/via) · · css
- CSS “:where()” “:is()” the Difference? (by) · · css
- CSS Specificity for Beginners (by) · · css, cascade
- The Wasted Potential of CSS Attribute Selectors (by) · · css, bem
- A Pure CSS Gallery Focus Effect With “:not” (via) · · css
- :where :is CSS? (by) · · css
- “:has()” Opens Up New Possibilities With CSS (by) · · videos, css
- I Never Thought This Would Be Possible With CSS (by) · · videos, css
- Detecting CSS Selector Support (by/via) · · css, support, feature-detection
- Is It “:modal”? (by/via) · · css, modals
- Parents Counting Children in CSS (by) · · css
- Using “:has()” as a CSS Parent Selector and Much More (by/via) · · css
- How the CSS “:is”, “:where”, and “:has” Pseudo-Class Selectors Work (by/via) · · css
- Modern CSS Selectors (by/via) · · css
- “:has()”: The Family Selector (by/via) · · css
- The Advanced Guide to the CSS “:has()” Selector (via) · · guides, css
- Detecting CSS Selector Support With JavaScript (by) · · css, feature-detection, support
- Solving the “Dangler” Conundrum With Container Queries and “:has()” (by) · · css
- Understanding CSS “:has()” (by/via) · · videos, css
- With “:focus-visible”, You Can Have Focus Styles When It Makes Sense (by) · · css, accessibility, keyboard-navigation, focus
- The Unlocked Possibilities of the “:has()” Selector (by) · · css
- A Previous Sibling Selector (by) · · css
- Managing Specificity With CSS Cascade Layers (by/via) · · videos, css, cascade
- Style Scoping Versus Shadow DOM: Which Is Fastest? (by) · · scope, dom, shadow-dom, performance, comparisons, metrics
- How and When to Use the CSS “:has” Selector (by/via) · · css
- Conditionally Styling Selected Elements in a Grid Container (by/via) · · css, grids
- Complex vs. Compound Selectors (by) · · css, comparisons
- Fun With CSS Combinators (by) · · css
- :where() :is() :has()? New CSS Selectors That Make Your Life Easier (by/via) · · css
- Master the “:nth-child()” Pseudo-Class (by/via) · · videos, css
- Practical Use Cases for “:has()” Pseudo-Class (by/via) · · videos, css
- Intro to CSS Parent Selector—“:has()” (by/via) · · videos, introductions, css
- CSS Parent Selector (by) · · css
- CSS “:has()” a Parent Selector Now (by) · · css
- Animated Grid Tracks With “:has()” (by/via) · · css, layout, grids
- How to Match HTML Elements With an Indeterminate State (by) · · how-tos, html, css
- CSS “:has” (by) · · css
- Deep Dive Into the CSS “:where()” Function (by/via) · · css, deep-dives
- The Focus-Indicated Pseudo-Class “:focus-visible” (by/via) · · css, focus
- Here’s What I Didn’t Know About “:where()” (by) · · css
- Comparing CSS Specificity Values (by) · · css, cascade
- The CSS “:has()” Pseudo-Class, aka Parent Selector (by) · · css
- The CSS “:has()” Selector Is Way More Than a “Parent Selector” (by/via) · · css
- “@ supports selector()” (by/via) · · css, at-rules, support
- Native CSS Nesting: What You Need to Know (by/via) · · css, nesting
- 7 Practical Uses for the “::before” and “::after” Pseudo-Elements in CSS (by/via) · · css
- Simpler Block Spacing in WordPress With “:is()” and “:where()” (by/via) · · wordpress, css
- Reducing the Need for Pseudo-Elements (by/via) · · css
- Next-Level List Bullets With CSS “::marker” (by/via) · · css
- CSS Nesting, Specificity, and You (by) · · css, cascade, nesting
- Can I “:has()” (by) · · css
- Custom Attributes Are Fast Good and Cheap (by) · · css
- A Guide to Newly Supported, Modern CSS Pseudo-Class Selectors (by/via) · · guides, css, support
- You Want Enabling CSS Selectors, Not Disabling Ones (by) · · css
- Performance of CSS Selectors Is Still Irrelevant (by) · · performance, css
- Upgrade Your Project With CSS Selector and Custom Attributes (via) · · css, testing, selenium
- CSS: The Reason Why Selectors Should Be Ordered, Too (by) · · css, sorting
- CSS Selectors: Specificity (by/via) · · css, cascade
- CSS Selectors: Pseudo-Elements (by/via) · · css
- CSS Selectors: Attribute Selectors (by/via) · · css
- CSS Selectors: Combinators (by/via) · · css
- Using CSS Mod Queries With Range Selectors (via) · · css
- 12 Little-Known CSS Facts (the Sequel) (by/via) · · css, borders, typography, tables, naming, animations
- The Future Generation of CSS Selectors: Level 4 (by/via) · · css, examples
- Selector Specificity With CSS Preprocessors (by/via) · · css, cascade, preprocessors, bem, sass
- Specificity Graphs (by) · · css, cascade, visualization
- The Specificity Graph (by) · · css, cascade, visualization
- Axiomatic CSS and Lobotomized Owls (by/via) · · css
- HTML5 Forms: CSS (by/via) · · html, forms, css, cascade
- Universal Selector (CSS Selector) (by/via) · · css
- CSS Selectors Cheat Sheet (by/via) · · css, cheat-sheets, examples
- “:first-child” (CSS Selector) (by/via) · · css
- The Current Generation of CSS3 Selectors (by/via) · · css, examples
- Semantic CSS With Intelligent Selectors (by/via) · · css, semantics, html
- How to Order CSS Selectors (by) · · how-tos, css, sorting, conventions
- CSS Selectors Level 4: The Path to CSS4 (by/via) · · css
- Sneak Peek Into the Future: CSS Selectors, Level 4 (by/via) · · css
- Getting to Know CSS3 Selectors: Structural Pseudo-Classes (by/via) · · css, examples
- Learning to Love the Boring Bits of CSS (by/via) · · css, units, functions
- How to Put Your CSS3 on “:target” (by/via) · · css
- 5 Tips for More Efficient jQuery Selectors (by/via) · · jquery, tips-and-tricks
- Learning to Use the “:after” and “:before” Pseudo-Elements in CSS (by/via) · · css, examples
- Better Semantics With CSS Combinators and Selectors (by/via) · · css
- How to Use CSS3 Pseudo-Classes (by/via) · · how-tos, css, examples
- Top 50 jQuery Selectors (by/via) · · jquery
- Why We Don’t Have a Parent Selector (by) · · css, performance
- CSS Specificity and Inheritance (by/via) · · css, cascade
- Taming Advanced CSS Selectors (by/via) · · css, examples
- How to Override Inline CSS Styles (by/via) · · how-tos, css, cascade
- Performance of CSS Selectors Is Irrelevant (by) · · performance, css
- The Two CSS Selector Bugs in IE6 (by) · · css, user-agents, microsoft, internet-explorer
- Regex Matching Attribute Selectors (by/via) · · css, regex
- CSS: Simple Rules for Better Organization and More Efficiency (by) · · css, guidelines, sorting
- Tomorrow’s CSS Today: 8 Techniques They Don’t Want You to Know (via) · · css, borders, techniques, progressive-enhancement
- CSS: Selector Variables (by) · · css
- The Great Specificity Swindle (by/via) · · css, cascade
- CSS Specificity: Things You Should Know (via) · · css, cascade, examples
- Who Ordered the Link States? (by) · · css, links
- Top CSS Tips (by) · · css, units, tips-and-tricks
- By Logical Extension (by) · · css, performance
- CSS “:nth” Tester (via) · tools, exploration, auditing, debugging, css
- CSS Quantity Query Generator (by) · tools, exploration, code-generation, css
- CSS Specificity Visualizer (by) · tools, exploration, auditing, debugging, css, cascade, visualization
- CSS Specificity Calculator (via) · tools, exploration, auditing, debugging, css, cascade