I'm developing pages, now in my css style I have this line of code
.flex-control-thumbs li { width: 25%; float: left; margin: 0; }
for my pages. Now, some of my pages don't need this line
width: 25%; float: left;
It is possible that I can overwrite it in internal css of the page, which will cause the original behaviour to be ignored?
... or add a <style> element in the <head> of your HTML with the CSS you need, this will take precedence over an external style sheet. You can also add !
you can try ol>li::before, ul>li::before {content: initial ! important!}
Using !important
is not recommended but in this situation I think you should -
Write this in your internal CSS -
.flex-control-thumbs li { width: auto !important; float: none !important; }
instead of overwriting, create it as different css and call it in your element as other css(multiple css).
Something like:
.flex-control-thumbs li { margin: 0; }
Internal CSS:
.additional li {width: 25%; float: left;}
<ul class="flex-control-thumbs additional"> </ul> /* assuming parent is ul */
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With