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 - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -