About 40,300,000 results
Open links in new tab
  1. In CSS what is the difference between "." and - Stack Overflow

    Mar 2, 2009 · What is the difference between # and . when declaring a set of styles for an element and what are the semantics that come into play when deciding which one to use?

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

    May 9, 2010 · CSS "and" and "or" Asked 15 years, 2 months ago Modified 4 months ago Viewed 341k times

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

    Feb 3, 2010 · The biggest difference between padding and margin is that vertical margins auto-collapse, and padding doesn't. Consider two elements one above the other each with padding …

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

  5. css - What's the difference between SCSS and Sass? - Stack Overflow

    Jun 1, 2013 · Sass is a CSS pre-processor with syntax advancements. Style sheets in the advanced syntax are processed by the program, and turned into regular CSS style sheets. …

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

    How to insert spaces/tabs in text using HTML/CSS Asked 13 years, 3 months ago Modified 1 year, 4 months ago Viewed 1.6m times

  7. css - Fixed position but relative to container - Stack Overflow

    Jul 23, 2011 · I am trying to fix a div so it always sticks to the top of the screen, using: position: fixed; top: 0px; right: 0px; However, the div is inside a centered container. When I use …

  8. How can I replace text with CSS? - Stack Overflow

    Obligatory: This is a hack: CSS isn't the right place to do this, but in some situations - eg, you have a third party library in an iframe that can only be customized by CSS - this kind of hack is …

  9. css - How to override !important? - Stack Overflow

    Jun 24, 2012 · Simply add another CSS rule with !important, and give the selector a higher specificity (adding an additional tag, id or class to the selector) add a CSS rule with the same …

  10. CSS `height: calc (100vh);` Vs `height: 100vh;` - Stack Overflow

    Oct 23, 2018 · I'm working on a project where the former developer used: .main-sidebar { height: calc(100vh); } I have no way to contact him/her anymore, and I would like to understand what …