!important styling hard-coded into HTML
-
Hi, I have been coding a fully-responsive full-screen pop-up using this plugin.
I have the solution down pat, except that the plugin applies:
“border:none !important” to the outer container at line 154.
This makes it impossible to apply the styling i need – which is border:20px, overflow:hidden on the outer container.
I could spend a couple of hours messing around with margins, media queries and dummy <div> elements to recreate the effect of a simple border, but instead I am modifying your plugin to simply remove the !important CSS rule.
Hard-coding !important into HTML output is bad practice.
Can you please remove the !important rule for your next release?
Regards,
Gareth.
- The topic ‘!important styling hard-coded into HTML’ is closed to new replies.