Follow

Back to a language with state and syntax -- "how do I linebreak within flex display?" Answer seems to be `flex-direction "column"`

@worldsendless You can do break-before: always; on your flex item (needs flex-wrap: wrap on the container), assuming I understood correctly what you want to achieve.

If that does not work on some of your supported browsers you can insert an empty item with width: 100%; height: 0; before your flex item.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.