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

    Jul 12, 2010 · 63 > (greater-than sign) is a CSS Combinator (Combine + Selector). A CSS selector can contain more than one simple selector. Between the simple selectors, we can …

  2. 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.

  3. 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 …

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

    background-position: center; } Now you can just set your div size to whatever you want and not only will the image keep its aspect ratio it will also be centralized both vertically and …

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

    19 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 …

  6. html - Set cellpadding and cellspacing in CSS? - Stack Overflow

    In an HTML table, the cellpadding and cellspacing can be set like this: <table cellspacing="1" cellpadding="1"> How can the same be accomplished using CSS?

  7. Is there a CSS parent selector? - Stack Overflow

    CSS is relatively fast to parse, but selecting parent tags requires a relatively significantly larger amount of processing. Using the :has selector, we can now select div elements which have a p …

  8. 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

  9. How to do gradient borders in CSS - Stack Overflow

    100 border-image-slice will extend a CSS border-image gradient This (as I understand it) prevents the default slicing of the "image" into sections - without it, nothing appears if the border is on …

  10. css - How to disable text selection highlighting - Stack Overflow

    For anchors that act like buttons (for example, the buttons on the sidebar of this Stack Overflow page titled Questions, Tags, and Users) or tabs, is there a CSS standard way to disable the …