Vertical nav

Developer
Size
2,022 Kb
Views
2,024

How do I make an vertical nav?

What is a vertical nav? How do you make a vertical nav? This script and codes were developed by Siful Islam on 30 January 2023, Monday.

Vertical nav Previews

Vertical nav - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>vertical nav </title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <header class="header" id="nav"> <ul class="nav nav-pills col-md-8 col-sm-12 col-xs-12" id="main-menu"> <li class="active"> <a href="#home"> <h2>Home</h2> <i class="fa fa-circle"> </i> </a> </li> <li class=""> <a href="#about"> <h2>About</h2> <i class="fa fa-circle"></i> </a> </li> <li class=""> <a href="#works"> <h2>Works</h2> <i class="fa fa-circle"></i> </a> </li> <li class=""> <a href="#contact"> <h2>Contact</h2> <i class="fa fa-circle"></i> </a> </li> </ul>
</header> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js'></script>
</body>
</html>

Vertical nav - Script Codes CSS Codes

.header { position: fixed; right: 0; z-index: 9999;
}
.header .nav-pills,
.header .nav { margin: 0;
}
.header .nav-pills li,
.header .nav li { float: none; margin-bottom: 100px;
}
.header .nav-pills li a h2,
.header .nav li a h2 { padding: 0px; text-transform: uppercase; font-weight: 600; letter-spacing: 4px; font-size: 24px; line-height: 32px; color: #b8b8b8; background-color: inherit; transform: rotate(-90deg); -ms-transform: rotate(-90deg); -webkit-transform: rotate(-90deg); transform-origin: right top; position: relative;
}
.header .nav-pills li a .fa,
.header .nav li a .fa { position: absolute; font-size: 30px; top: 50%; right: -85%; display: none; color: #5C54FF;
}
.header .nav-pills li a:hover,
.header .nav li a:hover { background-color: inherit;
}
.header .nav-pills li.active a,
.header .nav li.active a,
.header .nav-pills li.active h2,
.header .nav li.active h2 { background-color: inherit; color: #000000; opacity: 0.9;
}
.header .nav-pills li.active a .fa,
.header .nav li.active a .fa,
.header .nav-pills li.active h2 .fa,
.header .nav li.active h2 .fa { display: block;
}
.header .nav-pills li.active a:hover,
.header .nav li.active a:hover,
.header .nav-pills li.active h2:hover,
.header .nav li.active h2:hover { background-color: inherit; color: #000000;
}
.header .nav-pills li.active a:focus,
.header .nav li.active a:focus,
.header .nav-pills li.active h2:focus,
.header .nav li.active h2:focus { background-color: inherit; color: #000000; opacity: 0.9;
}
Vertical nav - Script Codes
Vertical nav - Script Codes
Home Page Home
Developer Siful Islam
Username sifulislam
Uploaded January 30, 2023
Rating 3
Size 2,022 Kb
Views 2,024
Do you need developer help for Vertical nav?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Siful Islam (sifulislam) Script Codes
Create amazing love letters with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!