File "navbar.php"
Full path: /home/fsibplc/public_html/fsib/firstcash/en/test/navbar.php
File
size: 4.2 B (4.2 KB bytes)
MIME-type: text/html
Charset: utf-8
Download Open Edit Advanced Editor Back
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!-- <link rel="stylesheet" href="/test/navbar.css"> -->
<style>
* {
box-sizing: border-box;
}
body {
margin: 0px;
font-family: 'segoe ui';
}
.nav {
height: 50px;
width: 100%;
background-color: #1177ca;
position: relative;
}
.nav > .nav-header {
display: inline;
}
.nav > .nav-header > .nav-title {
display: inline-block;
font-size: 22px;
color: #fff;
font-weight: 550;
font-family: Arial, Helvetica, sans-serif;
padding: 10px 10px 10px 10px;
}
.nav > .nav-btn {
display: none;
}
.nav > .nav-links {
display: inline;
float: right;
font-size: 18px;
}
.nav > .nav-links > ul li a{
display: block;
padding: 0 8px;
color: #fff;
line-height: 40px;
font-size: 18px;
text-decoration: none;
}
.nav > .nav-links > ul{
padding: 0;
margin-top: 5px;
list-style: none;
position: relative;
}
.nav > .nav-links > ul li{
display: inline-block;
background-color: #1177ca;
}
.nav > .nav-links > ul li:hover{
background-color: #0b65af;
border-radius: 5px;
}
.nav > #nav-check {
display: none;
}
.nav .nav-links ul a.icon{
margin-left: 80px;
margin-right: 10px;
}
.nav .nav-links ul a i{
background-color: #fff;
border-radius: 50px;
padding: 7px;
margin-left: 5px;
}
@media (max-width:750px) {
.nav > .nav-btn {
display: inline-block;
position: absolute;
right: 0px;
top: 0px;
}
.nav > .nav-btn > label {
display: inline-block;
width: 50px;
height: 50px;
padding: 13px;
}
.nav > .nav-btn > label:hover,.nav #nav-check:checked ~ .nav-btn > label {
background-color: rgba(0, 0, 0, 0.3);
}
.nav > .nav-btn > label > span {
display: block;
width: 25px;
height: 10px;
border-top: 2px solid #eee;
}
.nav > .nav-links {
position: absolute;
display: block;
width: 100%;
background-color: #333;
height: 0px;
transition: all 0.3s ease-in;
overflow-y: hidden;
top: 50px;
left: 0px;
}
.nav > .nav-links > ul li a {
display: block;
width: 100%;
}
/* */
.nav > .nav-links > ul li{
display: block;
margin-bottom: 20px;
padding: 0;
background-color: #333;
}
.nav > .nav-links > ul li a{
margin-left: 40%;
}
.nav .nav-links ul a.icon{
margin-left: 33%;
}
/* */
.nav > #nav-check:not(:checked) ~ .nav-links {
height: 0px;
}
.nav > #nav-check:checked ~ .nav-links {
height: calc(100vh - 50px);
overflow-y: auto;
}
}
</style>
</head>
<body>
<div class="nav">
<input type="checkbox" id="nav-check">
<div class="nav-header">
<div class="nav-title">
MysteryCode
</div>
</div>
<div class="nav-btn">
<label for="nav-check">
<span></span>
<span></span>
<span></span>
</label>
</div>
<div class="nav-links">
<ul>
<li><a href="#" target="_blank">Home</a></li>
<li><a href="#" target="_blank">About</a></li>
<li><a href="#" target="_blank">Services</a></li>
<li><a href="#" target="_blank">Portfolio</a></li>
<li><a href="#" target="_blank">Contact</a></li>
<a class="icon">
<i class="fa fa-twitter"></i>
<i class="fa fa-linkedin"></i>
<i class="fa fa-youtube"></i>
</a>
</ul>
</div>
</div>
</body>
</html>