4 ms·
Afaik div width property is almost useless if the parent set the display as flex, or if the div has no content.
by fendy3002 3y ago
Afaik div width property is almost useless if the parent set the display as flex, or if the div has no content.
- aidos 3y agoThat’s kinda the point of flex though. The width is determined by the flex rules; width 100% doesn’t make much sense in that context.