Sidebar Thing

Developer
Size
2,779 Kb
Views
16,192

How do I make an sidebar thing?

What is a sidebar thing? How do you make a sidebar thing? This script and codes were developed by Jon Ambas on 19 October 2022, Wednesday.

Sidebar Thing Previews

Sidebar Thing - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sidebar Thing</title> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <nav class="sidenav"> <ul class="main-buttons"> <li> <i class="fa fa-circle fa-2x"></i> Lorem Ipsum <ul class="hidden"> <li>TK-421</li> <li>why aren't </li> <li>you at </li> <li>your post?</li> </ul> </li> <li> <i class="fa fa-circle fa-2x"></i> Dolor Sit <ul class="hidden"> <li>Dark</li> <li>Wings</li> <li>Dark</li> <li>Words</li> <li>John SNUUW</li> </ul> </li> <li> <i class="fa fa-circle fa-2x"></i> Consectetur <ul class="hidden"> <li>Lorem</li> <li>Ipsum</li> <li>Dolor</li> </ul> </li> </ul>
</nav>
</body>
</html>

Sidebar Thing - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Open+Sans:600);
.sidenav { position: fixed; width: 280px; height: 100%; background-color: #1E2027;
}
.sidenav .main-buttons { list-style-type: none; margin: 64px 0; padding: 0; color: #fff;
}
.sidenav .main-buttons li { text-transform: uppercase; letter-spacing: 2px; font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 600;
}
.sidenav .main-buttons > li { padding: 16px 52px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.sidenav .main-buttons > li .fa { position: absolute; left: 12px; color: #414655;
}
.sidenav .main-buttons > li:hover, .sidenav .main-buttons > li:active, .sidenav .main-buttons > li:focus { background-color: #292c35; cursor: pointer;
}
.sidenav .main-buttons > li:hover .hidden, .sidenav .main-buttons > li:active .hidden, .sidenav .main-buttons > li:focus .hidden { width: 228px;
}
.hidden { width: 0; height: 100%; padding: 64px 0; position: absolute; top: 0; right: 0; overflow: hidden; list-style-type: none; background-color: #292c35; -moz-transition: 0.3s; -o-transition: 0.3s; -webkit-transition: 0.3s; transition: 0.3s;
}
.hidden li { padding: 16px 24px;
}
.hidden li:hover, .hidden li:active, .hidden li:focus { background-color: #323541;
}
body { background-color: #caccd6; line-height: 30px;
}
html, body { height: 100%;
}
Sidebar Thing - Script Codes
Sidebar Thing - Script Codes
Home Page Home
Developer Jon Ambas
Username jonambas
Uploaded October 19, 2022
Rating 4.5
Size 2,779 Kb
Views 16,192
Do you need developer help for Sidebar Thing?

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!

Jon Ambas (jonambas) Script Codes
Create amazing captions 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!