css3 - Make !important the whole .class selector -


is possible make entire .class css selector important? i'm thinking in kind of structure:

.custom-selector !important {   display: inline-block;   vertical-align: middle;   position: relative;   padding-left: 5px; } 

i don't know if it's possible.

no, it's not possible. !important thought instrument of last resort , such should used sparingly. !importanting whole selectors caricature idea.


Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

Trouble making a JSON string -

sitecore - Resolve ISitecoreService using SimpleInjector -