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

    Jul 12, 2010 · > (greater-than sign) is a CSS Combinator(Combine + Selector). A combinator is something that explains the relationship between the selectors. A CSS selector can contain …

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

    May 9, 2010 · Very old question I know, but since this is what came up at the top of my search results, I'll go ahead and answer it with modern day CSS. Since 2021, all browsers are …

  3. How to insert spaces/tabs in text using HTML/CSS

    Try  .. As per the documentation at Special Characters:. The character entities   and   denote an en space and an em space respectively, where an en space is half the …

  4. Can you use if/else conditions in CSS? - Stack Overflow

    Jul 15, 2009 · Sure,this is only practical with a limited set of items, like categories or states, and not unlimited sets like e-shop goods, otherwise the generated CSS would be too big. But it is …

  5. css - Outline effect to text - Stack Overflow

    I note the comment added to the answer that text-stroke is now supported in most browsers, but caniuse is still (Aug 2016) showing it as unsupported in all versions of IE and Edge, and …

  6. What is the order of precedence for CSS? - Stack Overflow

    Aug 3, 2014 · inline css ( html style attribute ) overrides css rules in style tag and css file; a more specific selector takes precedence over a less specific one; rules that appear later in the code …

  7. How can I define colors as variables in CSS? - Stack Overflow

    Yes, in near future (i write this in june 2012) you can define native css variables, without using less/sass etc ! The Webkit engine just implemented first css variable rules, so cutting edge …

  8. html - Transparent CSS background color - Stack Overflow

    Jun 25, 2012 · That's contained by the same CSS Color Module Level 4, so it has worse support than the first two solutions, but it's already implemented in larger browsers (sorry, no IE). This …

  9. What is the difference between margin and padding in CSS?

    Feb 3, 2010 · "Why is it that vertical margins collapse while horizontal ones don't?" there is no mechanism for having block elements side by side to each other without using floats - whose …

  10. Using custom fonts using CSS? - Stack Overflow

    Aug 27, 2012 · Today there are four font container formats in use on the web: EOT, TTF, WOFF, and WOFF2. Unfortunately, despite the wide range of choices, there isn't a single universal …

Refresh