DEV Community

loading...

Discussion on: Creating a fold out navigation with CSS only

Collapse
andrewfreites profile image
andrewfreites

I get it, the "left" attribute of ul. Thank you, is an interesting escenario

Collapse
cydstumpel profile image
Cyd Author

That’s a great option, you could also not set the left property and give it a width of 30vw (I would add a min width in pixels as well to keep it all readable) for example πŸ™‚