About 11,600,000 results
Open links in new tab
  1. What does the ">" (greater-than sign) CSS selector mean?

    Jul 12, 2010 · 1 The greater sign ( > ) selector in CSS means that the selector on the right is a direct descendant / child of whatever is on the left. An example: article > p { } Means only style …

  2. What is the purpose of the '@' symbol in CSS? - Stack Overflow

    The @ syntax itself, though, as I mentioned, is not new. These are all known in CSS as at-rules. They're special instructions for the browser, not directly related to styling of (X)HTML/XML …

  3. css selectors - CSS "and" and "or" - Stack Overflow

    May 9, 2010 · Learn about CSS selectors, including how to use "and" and "or" for efficient styling on Stack Overflow.

  4. Tailwind CSS v4 - Unknown at rule @plugin, @custom-variant, …

    Mar 17, 2025 · I'm using Tailwind CSS v4 in my Next.js project and getting the following errors in globals.css: Unknown at rule @plugin css (unknownAtRules) Unknown at rule @custom …

  5. css - How can I apply styles to multiple classes at once ... - Stack ...

    11 Using CSS pseudo-classes :is (previously :any and :matches) and :where, you can use comma to match multiple classes on any level. At the root level, :is(.abc, .xyz) and .abc, .xyz function …

  6. css - Media Queries: How to target desktop, tablet, and mobile?

    I have been doing some research on media queries and I still don't quite understand how to target devices of certain sizes. I want to be able to target desktop, tablet and mobile. I know that there

  7. CSS Child vs Descendant selectors - Stack Overflow

    I am a bit confused between these 2 selectors. Does the descendent selector: div p select all p within a div whether or not it's an immediate descedent? So if the p is inside another div it will...

  8. css - How to force image resize and keep aspect ratio? - Stack …

    Firefox 71+ (2019-12-03) and Chrome 79+ (2019-12-10) support internal mapping of the width and height HTML attributes of the IMG element to the new aspect-ratio CSS property.

  9. CSS Equivalent of the "if" statement - Stack Overflow

    CSS itself doesn't have conditional statements, but here's a hack involving custom properties (a.k.a. "css variables"). In this trivial example, you want to apply a padding based on a certain …

  10. css - Line break in HTML with '\n' - Stack Overflow

    Sep 5, 2016 · Learn how to create line breaks in HTML using '\n' and CSS techniques on this Stack Overflow discussion.