Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1305

CSS problem with display flex and display block

$
0
0

I have a class with the property display: flex. When I go to Chrome dev tools, it shows display: block, because of user-agent style sheet:

div { display: block; }

It seems I can't override it, even with !important. I have no other CSS class on this element.

If I use Bootstrap 4 d-flex, boom! It works.


Viewing all articles
Browse latest Browse all 1305

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>