I'am having troubles to add a flexbox with text that wrap when width is not enough large.
For example, on large page :
Red BlueAnd on small webpage
RedBlueActually :
- A horizontal slider is added, the blue element is not wrapped under the red one.
- Text is scaling on small webpage. (Could be wrapping, not a big issue)
This example is taken from here.
main { border: thin solid black;}article { display: flex; flex-wrap: wrap; flex-direction: row;}article header { width: 5em; margin-right: 2em; background-color: red;}article section { background-color: blue; flex-basis: 200px; flex-grow: 1;}<article><header> home<br> about<br> feed<br></header><section> What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it?</section></article>I would really appreciate some help ^^", thanks a lot !(I have also tried min-width without more success)