Is there a way to make sure that responsive.css
always dominates what is written in style.css.
website: built in wordpress
Is there a way to make sure that responsive.css
always dominates what is written in style.css.
website: built in wordpress
The two factors that determine which is a dominant style are order: the last style wins, and specificity: the more specific selector wins, regardless of order.
I think sir !important
is not a very good practice?
True, if used routinely. It is best considered a tool of last-resort.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.