It depends on which one is declared last in your stylesheet. For example,
.one { border: 6px dashed green }
.two { border: 6px dashed orange }
vs
.two { border: 6px dashed green }
.one { border: 6px dashed orange }
More Related Contents:
- How does one target IE7 and IE8 with valid CSS?
- Can I use non existing CSS classes?
- content attribute of img elements
- Why would Google use a font tag?
- Two column width 50% css [closed]
- How do you inject this code into HTML using Javascript?
- fixing slider on my website [closed]
- Are the decimal places in a CSS width respected?
- Detect if an input has text in it using CSS — on a page I am visiting and do not control?
- Change opacity on all elements except hovered one
- Can I change the height of an image in CSS :before/:after pseudo-elements?
- CSS3 Transitions: Is “transition: all” slower than “transition: x”?
- css grid of squares with flexbox
- How to change scroll bar position with CSS?
- execCommand() is now obsolete, what’s the alternative?
- Error: CSS: background: / is an incorrect operator
- How to remove focus around buttons on click
- Background blur with CSS
- CSS submit button weird rendering on iPad/iPhone
- Passing mouse clicks through an overlaying element
- How to cut a circular part from an image?
- CSS border less than 1px [duplicate]
- How to use HTML and CSS as a Java application GUI?
- How do you float elements without a vertical gap?
- Placeholder Mixin SCSS/CSS
- How to keep :active css style after click a button
- How do I keep CSS floats in one line?
- Make Bootstrap’s Carousel both center AND responsive?
- Use the HTML tag as a background image instead of the CSS background-image property?
- Flex elements ignore percent padding in Firefox