DEV Community

Vasudevan Tamilarasan
Vasudevan Tamilarasan

Posted on

1

Responsive Navbar

Sample Responsive navbar using tailwind css.

Step to make:

  1. Create a separate divisions for brand logo, bar-icon(hidden by default) & navbar-icons within a division.
  2. Make that navbar-icon division flex on sm & above breakpoints(small) & change flex-direction from row -> column on small devices.
  3. Make some hover effects on the navbar links & some bg-color for good look.

Here is the demo of the responsive navbar.

Image description

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay