Loading

Override Inline Styles with CSS

inline style:


<div style="background: red;"> The inline styles for this div should make it red. </div>

 

override inline style:

div[style] {
   background: yellow !important;
}

 http://css-tricks.com/override-inline-styles-with-css/

posted @ 2013-12-11 10:08  .net's  阅读(476)  评论(0编辑  收藏  举报