I want to rewrite the following CSS
.navbar:before{ display: table; content: " "; }
and delete any content in the files before or after. This creates unnecessary space between my navigation bar and the left panel. I tried to give this class
content: none !important;
But he did not correspond. Is there any way to rewrite this? I am in the latest version of Bootsrap.
To redefine this would be enough:
.navbar:before { content: none !important; }
If this does not help, you can also try:
.navbar:before { display: none !important; }
This will hide the item. But if you donโt see redefined properties (check that with the developer tool inspector), I would search if these CSS rules are even added to the page.
It is also possible that something else causes space.
It is important to override even the built-in properties added with style="" . Here are some specifics:
style=""
https://css-tricks.com/specifics-on-css-specificity/ http://www.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/
If content: none does not work, try display: none .
content: none
display: none
And that it does not overwrite, you saw in devtools? Obviously, something forces him not to correspond, it would be nice to have a direct look;)
Source: https://habr.com/ru/post/984225/More articles:Voice to text java app with Dragon API (DNS) - java-eePandas How to replace? with NaN - handling non-standard missing values โโ- pythonHow to make relative layout with box shadow - javaThrowing OutOfMemoryError "Failed to allocate distribution by 31961100 bytes with free bytes 4194304 and 27 MB until OOM - androidHow to identify elements that are removed from set () in python? - pythonVideoCapture not working in Anaconda - pythonWhy can't I use a function that returns a compile-time constant as a constant? - rustHow to safely close THREAD, which has an infinite loop - c ++https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/984229/how-to-print-a-logo-on-labels-using-a-zebra-printer-and-sending-zpl-instructions-to-it&usg=ALkJrhhN76ONGH-IE3Amc4oTaLswCiuQlgHow to improve readability of error message returned from JsError.toFlatJson or JsError.toJson in Play Framework 2.x? - jsonAll Articles