Button with sliding information
How do I make an button with sliding information?
The button shows you more information when you hover it.. What is a button with sliding information? How do you make a button with sliding information? This script and codes were developed by Miro Karilahti on 07 July 2022, Thursday.
Button with sliding information - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Button with sliding information</title> <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> <a class="face-button" href="#"> <div class="face-primary"> <span class="icon fa fa-cloud"></span> Download </div> <div class="face-secondary"> <span class="icon fa fa-hdd-o"></span> Size: 52 kt </div>
</a> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Button with sliding information - Script Codes CSS Codes
@import url("//fonts.googleapis.com/css?family=Roboto:500");
@import url("//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css");
body { padding: 64px 0; text-align: center;
}
.face-button { height: 64px; display: inline-block; border: 3px solid #e43; font-family: 'Roboto', sans-serif; font-size: 20px; font-weight: 500; text-align: center; text-decoration: none; color: #e43; overflow: hidden;
}
.face-button .icon { margin-right: 6px;
}
.face-button .face-primary,
.face-button .face-secondary { display: block; padding: 0 32px; line-height: 64px; transition: margin .4s;
}
.face-button .face-primary { background-color: #e43; color: #fff;
}
.face-button:hover .face-primary { margin-top: -64px;
}
Developer | Miro Karilahti |
Username | miroot |
Uploaded | July 07, 2022 |
Rating | 4.5 |
Size | 2,387 Kb |
Views | 36,432 |
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 |
Flat Text Editor | 2,468 Kb |
Pure CSS Gallery | 3,817 Kb |
Calendar | 2,033 Kb |
Expanding Photo Stack | 2,083 Kb |
Simple personal profile | 2,856 Kb |
Navigation | 2,298 Kb |
Social Icons | 2,941 Kb |
Login Form | 2,519 Kb |
Flat sidebar | 2,664 Kb |
Long Shadow Calendar Icon | 1,856 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 |
Vanilla modal window | Jasonhowmans | 3,554 Kb |
Canvas Orbital Trails v2 | Jackrugile | 3,421 Kb |
Jstam.com Home Page | Jstam | 10,558 Kb |
Coburg Banks SVG Logo | Mjtweaver | 3,875 Kb |
CSS-Flexbox-Demo | Sstiglets | 1,709 Kb |
Pictos font library from CodePen | Jstam | 3,790 Kb |
Hamburger Menu Animation | Salmanraza | 2,580 Kb |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
Using Flickr API | MoyArt | 6,761 Kb |
Find The Penguin | Lelder | 2,212 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!