http://hungred.com/useful-information/css-priority-order-tips-tricks/
"Calculate the number of times the ID attributes in the selector.
Calculate the number of times the CLASS attributes in the selector.
Calculate the number of times the HTML tag names in the selector.
Once you done that you will have 3 digit. Each digit is meant for each description above. Next, arrange them from left to right starting from the first description to the third one. And you will have something like this."
No comments:
Post a Comment