Nav Test -- cats 1
How do I make an nav test -- cats 1?
What is a nav test -- cats 1? How do you make a nav test -- cats 1? This script and codes were developed by Payal on 17 September 2022, Saturday.
Nav Test -- cats 1 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Nav Test -- cats 1</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ * { box-sizing: border-box;
}
html, body { height: 100%; min-height: 100%; overflow: hidden;
}
/* structural stuff */
.wrap { max-width: 1200px; height: 100%; margin: 0 auto; border-left: 1px solid yellow;
}
.header, .footer, .body { position: fixed; left: 0; right: 0; background-color: #222; color: #ddd;
}
.header { top: 0; height: 60px;
}
.footer { bottom: 0; height: 20px;
}
.body { top: 60px; bottom: 20px; background-color: #ddd; color: #222; overflow-x: hidden; overflow-y: auto;
}
.body .content { z-index: 10; height: 100%;
}
.body .content img { width: 100%;
}
.body .content .box { width: 50%; height: 100%; left: 50%; float: left; transform: skew(-4deg); color: black;
}
.body .content .box .text { transform: skew(4deg); top: 50%; line-height: 1em; margin-top: -1.5em; font-size: 30px; text-align: center; z-index: 999; color: black;
}
.body .content .box .text:hover { color: white;
}
.body .content .box div { position: relative; transition: all .3s ease; overflow: hidden;
}
.body .content .box div .curt { transform: translate(-100%, 0); position: absolute; top: 0; bottom: 0; left: 0; right: 0;
}
.body .content .box div .curt img { transform: skew(4deg); width: 150%; height: 150%; margin: auto;
}
.body .content .box div:hover .curt { z-index: 10; transform: translate(0, 0);
}
.body .content .b1 { background-color: #aaa;
}
.body .content .b1 .l1 { width: 100%; height: 50%;
}
.body .content .b1 .l2 { width: 100%; height: 50%; background-color: #F28939;
}
.body .content .b2 { background-color: #333;
}
.body .content .b2 .l3 { width: 100%; height: 50%; background-color: yellow;
}
.body .content .b2 .l4 { width: 100%; height: 50%;
}
.nav-holder { z-index: 3; position: fixed; left: 0; right: 0; /* scrollbar width */ top: 60px; bottom: 20px; pointer-events: none;
}
.nav-holder .wrap { height: 100%;
}
.nav-holder .wrap .nav { pointer-events: auto; background-color: rgba(0, 0, 0, 0.5); width: 25%; height: 100%; border-top: 1px solid red; border-bottom: 1px solid red; padding: 20px;
}
.nav-holder .wrap .nav a { display: block; margin-bottom: 10px; padding: 5px; line-height: 20px; text-decoration: none; border: 1px solid white; color: white;
}
.nav-holder .wrap .nav a:hover, .nav-holder .wrap .nav a:focus { color: blue; border-color: blue;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="header"><div class="wrap">header</div></div>
<!-- <div class="nav-holder"> <div class="wrap"> <div class="nav"> <a href="#">Nav Item 1</a> <a href="#">Nav Item 2</a> <a href="#">Nav Item 3</a> <a href="#">Nav Item 4</a> </div> </div>
</div> -->
<div class="body"> <div class="wrap"> <div class="content"> <div class="box b1"> <div class="l1"> <div class="text"><h3>Graphic Design</h3></div> <div class="curt"> <img src="http://placekitten.com/g/500/500"/> </div> </div> <div class="l2"> <div class="text"><h3>Master Class</h3></div> <div class="curt"> <img src="http://placekitten.com/g/500/700"/> </div> </div> </div> <div class="box b2"> <div class="l3"> <div class="curt"> <img src="http://placekitten.com/g/600/500"/> </div> <div class="text"><h3>Web Design</h3></div> </div> <div class="l4"> <div class="text"><h3>Qualifications</h3></div> <div class="curt"> <img src="http://placekitten.com/g/500/600"/> </div> </div> </div> </div> </div>
</div>
<div class="footer"><div class="wrap">footer</div></div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Nav Test -- cats 1 - Script Codes CSS Codes
* { box-sizing: border-box;
}
html, body { height: 100%; min-height: 100%; overflow: hidden;
}
/* structural stuff */
.wrap { max-width: 1200px; height: 100%; margin: 0 auto; border-left: 1px solid yellow;
}
.header, .footer, .body { position: fixed; left: 0; right: 0; background-color: #222; color: #ddd;
}
.header { top: 0; height: 60px;
}
.footer { bottom: 0; height: 20px;
}
.body { top: 60px; bottom: 20px; background-color: #ddd; color: #222; overflow-x: hidden; overflow-y: auto;
}
.body .content { z-index: 10; height: 100%;
}
.body .content img { width: 100%;
}
.body .content .box { width: 50%; height: 100%; left: 50%; float: left; transform: skew(-4deg); color: black;
}
.body .content .box .text { transform: skew(4deg); top: 50%; line-height: 1em; margin-top: -1.5em; font-size: 30px; text-align: center; z-index: 999; color: black;
}
.body .content .box .text:hover { color: white;
}
.body .content .box div { position: relative; transition: all .3s ease; overflow: hidden;
}
.body .content .box div .curt { transform: translate(-100%, 0); position: absolute; top: 0; bottom: 0; left: 0; right: 0;
}
.body .content .box div .curt img { transform: skew(4deg); width: 150%; height: 150%; margin: auto;
}
.body .content .box div:hover .curt { z-index: 10; transform: translate(0, 0);
}
.body .content .b1 { background-color: #aaa;
}
.body .content .b1 .l1 { width: 100%; height: 50%;
}
.body .content .b1 .l2 { width: 100%; height: 50%; background-color: #F28939;
}
.body .content .b2 { background-color: #333;
}
.body .content .b2 .l3 { width: 100%; height: 50%; background-color: yellow;
}
.body .content .b2 .l4 { width: 100%; height: 50%;
}
.nav-holder { z-index: 3; position: fixed; left: 0; right: 0; /* scrollbar width */ top: 60px; bottom: 20px; pointer-events: none;
}
.nav-holder .wrap { height: 100%;
}
.nav-holder .wrap .nav { pointer-events: auto; background-color: rgba(0, 0, 0, 0.5); width: 25%; height: 100%; border-top: 1px solid red; border-bottom: 1px solid red; padding: 20px;
}
.nav-holder .wrap .nav a { display: block; margin-bottom: 10px; padding: 5px; line-height: 20px; text-decoration: none; border: 1px solid white; color: white;
}
.nav-holder .wrap .nav a:hover, .nav-holder .wrap .nav a:focus { color: blue; border-color: blue;
}
Nav Test -- cats 1 - Script Codes JS Codes
/*
$('.l1').mouseover(function(){ $('.l1 img').show().css({left:"70%"}).animate({ left: "0" }, 1000);
})
.mouseout(function(){ $('.l1 img').hide();
});
$('.l2').mouseover(function(){ $('.l2 img').show().css({left:"70%"}).animate({ left: "0" }, 1000);
})
.mouseout(function(){ $('.l2 img').hide();
});
$(".l3 img, .l4 img").each(function(){ if(this.className == "" && this.style != ""){ this.style.zIndex = "-999"; }
});
$('.l3').mouseover(function(){ $('.l3').show().css({left:"-30%", backgroundColor: "olive"}).animate({ opacity: "1", left: "0", }, 1000);
})
.mouseout(function(){ $('.l3 img').css({backgroundColor: "olive"}).hide();
});
$('.l4').mouseover(function(){ $('.l4 img').show().css({width:"0%", left: "0%"}).animate({ width: "100%", left: "0" }, 500);
})
.mouseout(function(){ $('.l4 img').hide();
});
$('.box-1').resize(function(){ var height = $('.b1').offsetheight();
});
*/
Developer | Payal |
Username | payls |
Uploaded | September 17, 2022 |
Rating | 3 |
Size | 4,735 Kb |
Views | 42,504 |
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!
Name | Size |
Responsive Flexbox Grid | 4,010 Kb |
Flexbox Responsive Grid Playground | 3,661 Kb |
Footer Meg-menu | 5,395 Kb |
Flipcards | 2,975 Kb |
Nav Test -- 2 | 4,027 Kb |
Nav Test -- hover slider | 4,970 Kb |
New - grey hover | 4,756 Kb |
A Pen by Payal | 6,009 Kb |
Diagonal Work | 4,370 Kb |
Testing timezone | 3,023 Kb |
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!
Name | Username | Size |
Drill-down Map | Good886 | 8,484 Kb |
Twitch | SarahDunlap | 2,937 Kb |
LBCA - Mail canvas | Emnbdx | 3,856 Kb |
Web Spiral - p5.js | TWAIN | 2,183 Kb |
Weather App | Kw7oe | 3,162 Kb |
A Pen by Xand0r | Xand0r | 1,928 Kb |
Contact | GanNichiHa | 2,514 Kb |
A cube | KyleDavidE | 18,627 Kb |
CSS3 Button Examples | Volusion | 3,377 Kb |
Calculator | Rzencoder | 4,572 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!