Css action sideBar
How do I make an css action sidebar?
What is a css action sidebar? How do you make a css action sidebar? This script and codes were developed by Uriuriuriu on 10 January 2023, Tuesday.
Css action sideBar - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>css action sideBar</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Economica:400,700'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <nav id="sidebar"> <dl id="sidebar_list"> <dt> <a href=""><i class="icon-a"></i><br />home</a> </dt> <dd> <ul> <li> <a>yes01</a> </li> <li> <a>yes02</a> </li> <li> <a>yes03</a> </li> <li> <a>yes04</a> </li> <li> <a>yes05</a> </li> </ul> </dd> <dt> <a href=""><i class="icon-b"></i><br />list</a> </dt> <dd> <ul> <li> <a>no01</a> </li> <li> <a>no02</a> </li> <li> <a>no03</a> </li> <li> <a>no04</a> </li> <li> <a>no05</a> </li> </ul> </dd> <dt> <a href=""><i class="icon-c"></i><br />setting</a> </dt> <dd> <ul> <li> <a>opp01</a> </li> <li> <a>opp02</a> </li> </ul> </dd> </dl>
</nav>
<div id="comment"> Please hover over sideber.
</div>
</body>
</html>
Css action sideBar - Script Codes CSS Codes
/* var */
/* mixin */
/* animation */
@keyframes show_child { 0% { left: -120px; } 100% { left: 80px; }
}
@-webkit-keyframes show_child { 0% { left: -120px; } 100% { left: 80px; }
}
@keyframes hide_child { 0% { left: 80px; } 100% { left: -120px; }
}
@-webkit-keyframes hide_child { 0% { left: 80px; } 100% { left: -120px; }
}
/* icon */
/* this is dammy icon's css. please use there icon set. http://fontello.com/
*/
i[class^="icon-"]:before { font-family: 'Economica', sans-serif; font-size: 100px;
}
i.icon-a:before { content: "A";
}
i.icon-b:before { content: "B";
}
i.icon-c:before { content: "C";
}
/* main */
dl#sidebar_list:after { content: ""; display: block; position: fixed; top: 0px; left: 0px; width: 80px; height: 100%; background-color: #333; -webkit-box-shadow: 8px 0 20px rgba(0, 0, 0, 0.1); -moz-box-shadow: 8px 0 20px rgba(0, 0, 0, 0.1); box-shadow: 8px 0 20px rgba(0, 0, 0, 0.1);
}
dl#sidebar_list { font-family: 'Economica', sans-serif; position: fixed; top: 0px; left: 0px; width: 80px; height: 100%; background-color: #333;
}
dl#sidebar_list dt { position: relative; z-index: 100; list-style-type: none; text-align: center;
}
dl#sidebar_list dt a { color: #555; font-weight: bold; text-decoration: none; display: block; padding: 20px; transition: color 0.5s ease-in; transition: background-color 0.5s ease-in;
}
dl#sidebar_list dt a:hover { color: #f89406; background-color: #222;
}
dl#sidebar_list dd { /* Firefox 4+ */ -moz-animation-name: hide_child; -moz-animation-timing-function: ease-out; -moz-animation-iteration-count: once; -moz-animation-duration: 0.3s; /* Webkit */ -webkit-animation-name: hide_child; -webkit-animation-timing-function: ease-out; -webkit-animation-iteration-count: once; -webkit-animation-duration: 0.3s; display: block; position: fixed; top: 0px; left: -200px; width: 200px; height: 100%; background-color: rgba(0, 0, 0, 0.7);
}
dl#sidebar_list dd li { list-style-type: none; text-align: center; border-bottom: 1px solid rgba(0, 0, 0, 0.2); overflow: hidden;
}
dl#sidebar_list dd li a { color: #f89406; display: block; font-size: 20px; padding: 0.8em; height: 1em; line-height: 1em; transition: color 0.5s ease-in; transition: background-color 0.5s ease-in;
}
dl#sidebar_list dd li a:hover { color: #fff; text-decoration: none; background-color: #f89406;
}
/* Activating the animation */
dl#sidebar_list dt:hover + dd,
dl#sidebar_list dd:hover { display: block; left: 80px; /* Firefox 4+ */ -moz-animation-name: show_child; -moz-animation-timing-function: ease-out; -moz-animation-iteration-count: once; -moz-animation-duration: 0.3s; /* Webkit */ -webkit-animation-name: show_child; -webkit-animation-timing-function: ease-out; -webkit-animation-iteration-count: once; -webkit-animation-duration: 0.3s;
}
/* discription */
body { background-color: #aa2244;
}
div#comment { font-family: 'Economica', sans-serif; padding: 30px 0 0 110px; color: #eee; font-size: 50px;
}
Developer | Uriuriuriu |
Username | uriuriuriu |
Uploaded | January 10, 2023 |
Rating | 3.5 |
Size | 3,928 Kb |
Views | 4,048 |
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 |
Canvas Gaussian Blur | 3,439 Kb |
Simple genetic algorithm | 10,179 Kb |
Shuffle text word separator | 3,208 Kb |
Now | 4,505 Kb |
Three.js ver.2 animation | 3,114 Kb |
ClickPanel | 3,068 Kb |
Three.js earth | 3,423 Kb |
Glitch Video | 3,178 Kb |
SANGETUKI separator | 11,128 Kb |
Three.js ver.1 rotate camera | 2,769 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 |
Sticky notes with CSS3 | HaiNguyen007 | 2,146 Kb |
Custom Checkbox and radio inputs SCSS | Rgfx | 3,367 Kb |
Animated Slide Hamburger Mobile Menu | BJack | 2,247 Kb |
A Pen by Bryan Rojas | Bryanrojas | 1,873 Kb |
Loading animation with css | Icebob | 2,947 Kb |
Login-ng-modal | Heedoo | 3,566 Kb |
A Pen by Mohomed Anees | Mohomedanees | 12,597 Kb |
A Pen by Rob Levin | Roblevin | 2,787 Kb |
Pure CSS Tooltips | Mobius1 | 2,271 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 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!