inline styles will replace !important
I learnt this by the video trivia by web dev simplified and kevin powell!
And kevin as a CSS Mastermind lost to this question... Very bad!
But, Kevin is the CSS Master!
Wait...!important will trump inline styles 🤔
!important
You made me doubt for a second, so I created an example of it for another comment: !important does override inline styles.
Actually I expect custom origins/cascade layers to eventually replace most !important use. But it'll be some years before we can use them.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
inline styles will replace !important
I learnt this by the video trivia by web dev simplified and kevin powell!
And kevin as a CSS Mastermind lost to this question... Very bad!
But, Kevin is the CSS Master!
Wait...
!important
will trump inline styles 🤔You made me doubt for a second, so I created an example of it for another comment:
!important
does override inline styles.Actually I expect custom origins/cascade layers to eventually replace most !important use. But it'll be some years before we can use them.