DEV Community

Cover image for Modern Sidebar Menu

Modern Sidebar Menu

Cornea Florin on December 30, 2020

As a CSS enthusiast I'm always trying to replicate designs I see using CSS. Today I wanted to create a sidebar menu. I used codepen as always(...
Collapse
 
adithyarafk profile image
AdithyaR-afk

Awesome. Just want to highlight one thing because of my OCD , you may want to remove the rectangular div highlighting that happens when you clip an option

Collapse
 
dreitzner profile image
Domenik Reitzner

Looks really nice!
Guess I have the same ocd 😀.
Also the first element cuts into the top border radius and it looks a bit weird how it overlaps...

Collapse
 
florincornea profile image
Cornea Florin

thanks!, and solved, both things :D

Collapse
 
florincornea profile image
Cornea Florin

thanks!, and solved :D

Collapse
 
tinaeldvs profile image
Tinaël

Visually appealing! However, I'd like to point out two things about it:

1) Semantically considering the HTML, you should use title tags (hX) & list tags (ul/ol & li) for your menu list. It would give a better accessibility and understanding of your menu to people with less abilities & to bots or other softwares.

2) You should avoid using JavaScript href as it is firstly considered not clean & now obsolete.

Thank you for sharing, keep up the good work!

Collapse
 
jhelberg profile image
Joost Helberg

Nice!

Collapse
 
nove1398 profile image
nove1398

This is nice, i like it

Collapse
 
arnabsen1729 profile image
Arnab Sen

Nice work! Thanks for sharing with the community <3

Collapse
 
ronaldomiranda profile image
ronaldomiranda

Cool!!
thanks for sharing

Collapse
 
ikurosaki profile image
ikurosaki

Hermoso 😍 gracias

Collapse
 
florinfrasia profile image
Florin Ovidiu Frăsia

Faină treabă Florine!
Un an nou cu multe realizări în Web development şi sănatate! La mulți ani!

Collapse
 
florincornea profile image
Cornea Florin

Mersi fain Florin!, la fel iti doresc si eu, la multi ani!

Collapse
 
deaddoctor profile image
deaddoctor

what's modern about this? it's a cool CSS trick but looks kinda ugly.

Collapse
 
utkarshdhiman48 profile image
Utkarsh Dhiman

This is really really cool.

Collapse
 
florincornea profile image
Cornea Florin

Thanks!

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
florincornea profile image
Cornea Florin

Thanks Drew, it was a mistake, the tag I was looking for was #ui.

Collapse
 
infernus255 profile image
infernus255

Esta muy bueno jajaj parece un windows del futuro