Hover || focus drop
How do I make an hover || focus drop?
What is a hover || focus drop? How do you make a hover || focus drop? This script and codes were developed by Milano_O on 11 December 2022, Sunday.
Hover || focus drop - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>hover || focus drop</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <nav class="nav-main">
<div class="logo">Website</div> <ul> <li> <a href="#" class="nav-item">Home</a> <div class="nav-content"> <div class="nav-sub"> <ul> <li><a href="https://www.w3schools.com/" target="_blank">Link broj 1</a></li> <li><a href="#">Link broj 2</a></li> <li><a href="#">Link broj 2</a></li> </ul> </div> </div> </li> <li><a href="#" class="nav-item">About</a></li> <li><a href="#" class="nav-item">Info</a></li> </ul>
</nav>
<div class="help-tab"> <a href="#help-modal" rel="leanModal" role="button">Help</a>
</div>
</body>
</html>
Hover || focus drop - Script Codes CSS Codes
body, htmal { margin: 0; font: 1em "Open Sans", sans-serif;
}
.nav-main { width: 100%; background: #222; height: 70px; color: #fff;
}
.nav-main .logo { float: left; height: 40px; padding: 15px 30px; font-size: 1.4em; line-height: 40px;
}
.nav-main > ul { margin: 0; padding: 0; float: left; list-style-type: none;
}
.nav-main > ul > li { float: left;
}
.nav-item { display: inline-block; padding: 15px 20px; height: 40px; line-height: 40px; color: #fff; text-decoration: none;
}
.nav-item:hover { background: #444;
}
.nav-content { position: absolute; width: 150px; top; 70px; overflow: hidden; background: #222; max-height: 0; display: none;
}
.nav-content a { color: #fff; text-decoration: none;
}
.nav-content a:hover { text-decoration: none;
}
.nav-sub { /* padding: 20px; */
}
.nav-sub ul { padding: 0; margin: 0;
}
.nav-sub ul li a { display: inline-block; width: 100%; padding: 10px 5px; border-bottom: 1px solid #fff;
}
.nav-sub ul li a:hover { background-color: #444;
}
/* .nav-item:focus ~ .nav-content { max-height: 400px; transition: all 0.3s ease-in; display: block;
} */
.nav-main > ul > li:hover .nav-content { max-height: 400px; transition: all 0.3s ease-in; display: block;
}
/* Hel tab */
.help-tab { -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); -webkit-transform-origin: 0 0; -moz-transform-origin: 0 0; -ms-transform-origin: 0 0; -o-transform-origin: 0 0; transform-origin: 0 0; top: 200px; right: 50px; position: fixed;
}
.help-tab a:link, .help-tab a:visited { cursor: pointer; border: 1px solid #c8c8c8; border-top-style: none; border-radius: 10px 10px 10px 10px; background: rgba(255,255,255,0.75); color: rgba(51,51,51,0.75); font-weight: bold; text-decoration: none; padding: 6px 22px 11px; display: inline-block;
}
.help-tab a:hover { color: #fff; background: #0078b0;
}
Developer | Milano_O |
Username | milanodituti |
Uploaded | December 11, 2022 |
Rating | 3 |
Size | 2,250 Kb |
Views | 12,144 |
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 |
Materialize | 2,578 Kb |
Sliding Door Reveal | 2,271 Kb |
Svg basic | 2,844 Kb |
Slide menu tn | 2,819 Kb |
Table | 2,388 Kb |
Online-store-header | 4,917 Kb |
Siema slider | 3,541 Kb |
Verso_toggle-menu | 4,424 Kb |
Accordian_222 new | 3,320 Kb |
Slide Horizontal from Top-Left Navigation in Pure CSS Tutorial | 3,443 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 |
JQuery Validate checkbox group | Lunaman | 2,466 Kb |
Cloud upload | Jaflo | 2,774 Kb |
Greyscale image with filter in CSS3 | NickyCDK | 1,562 Kb |
Fun form with currentColor | Bnthor | 2,713 Kb |
Underlined form fields | Mitchdot | 2,323 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
Next Word Predictor | Rfalor | 2,776 Kb |
Voting App - register | MatheusLima92 | 1,948 Kb |
Flexbox playground | Enxaneta | 5,418 Kb |
Twitch API | Coderpilot | 3,412 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!