DEV Community

Discussion on: Challenge: CSS Navigation

Collapse
 
valeversa profile image
valeversa • Edited

Hey Danny, fun challenge!
I've got 5 lines of html and 11 of CSS (13 with proper spacing), using CSS grid.

Are Item 1 and item 2 links? If so, I'm up to 13 lines of css (15 with spacing, adding text-decoration: none; and color: #000000; to ovveride browser link styling). Here's my solution: codepen.io/versavale/pen/VEWKMB

Collapse
 
dandevri profile image
Danny de Vries

Nice one! Neat trick with CSS grid, might Flebox be better suited for this?

Collapse
 
valeversa profile image
valeversa

Unfortunately I'm not that familiar with Flexbox, that's why I'm really interested in your solutions :)