Description

This code example demonstrates how to have a transparent or navbar with no background color. But when you click on the mobile dropdown toggle or scroll down it will add a background color to make the nav text readable.

HTML

CSS

JS