What is the spec behavior for two conflicting CSS styles from an external file? How well do browser

Posted by RenderIn on Stack Overflow See other posts from Stack Overflow or by RenderIn
Published on 2010-05-12T13:52:26Z Indexed on 2010/05/12 14:04 UTC
Read the original article Hit count: 197

Filed under:
|

Suppose I have two files containing styles, a.css and b.css. I import them into my page in the <head> section. Both of these external files define a style for the class .someclass. Which one takes precedence? Is there any guarantee based on the order of the imports for css files that will state which style should be used?

© Stack Overflow or respective owner

Related posts about css

Related posts about browsers