0

Flexbox navigation help

https://code.sololearn.com/WMZSwdV15yJO in this example if i increase the width of the browser the navigation items also stretch. But I want them to be a certain width whatever the window size is. How to do this with flexbox? and for small devices I will design them differently

4th Aug 2018, 6:09 AM
Nayem
4 odpowiedzi
+ 5
use unit width :100vw for container and play with flexbox https://code.sololearn.com/Wqwc2gEQ7sR7/?ref=app
4th Aug 2018, 2:16 PM
Morpheus
Morpheus - avatar
+ 1
Use @media for targeting different screen sizes
4th Aug 2018, 1:35 PM
Calviղ
Calviղ - avatar
+ 1
thanks I did that already
4th Aug 2018, 1:36 PM
Nayem
0
I found my answer
4th Aug 2018, 6:19 AM
Nayem