Nav Bar For website

Home   »   Nav Bar For website

Nav Bar For website

A [Pen]( by [Joey Sloan ]( on [CodePen](

.topnav {
  background-color: #333;
  overflow: hidden;

.topnav a {
  float: left;
  color: #FFFF;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;

/* Add a color to the active/current link */
.topnav {
  background-color: #FF8733;
  color: white;


Leave a Reply

Your email address will not be published. Required fields are marked *