Google Inspired Floating Action Button
How do I make an google inspired floating action button?
Click the button. What is a google inspired floating action button? How do you make a google inspired floating action button? This script and codes were developed by Sasha on 12 June 2022, Sunday.
Google Inspired Floating Action Button - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Google Inspired Floating Action Button</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <input type="checkbox" id="toggle" /> <label class="button" for="toggle"></label> <nav class="nav"> <a href="http://sashatran.com" target="_blank">About</a> <a href="http://codepen.io/sashatran/pens/public/" target="_blank">Home</a> <a href="https://www.linkedin.com/in/sasha-tran-23498989/" target="_blank">Hire Me</a> <a href="https://www.youtube.com/channel/UCCATAa8MWoBuH-sR_Jlx29A" target="_blank">Subscribe</a> </nav> </div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
</body>
</html>
Google Inspired Floating Action Button - Script Codes CSS Codes
@import url("https://fonts.googleapis.com/css?family=Roboto");
body { background: linear-gradient(45deg, #FBE7C5, #F5CAC3);
}
.container, .button, .nav { position: absolute;
}
.container { margin: auto; top: 0; left: 0; bottom: 0; right: 0; width: 50px; height: 100px;
}
#toggle { display: none;
}
.button { z-index: 999; width: 43px; height: 43px; background: #F28482; border-radius: 100%; transition: all 0.5s ease-in-out; box-shadow: 1px 3px 10px 0 rgba(0, 0, 0, 0.3); cursor: pointer;
}
.button:before { position: absolute; top: 20px; left: 9px; content: ''; width: 25px; height: 2px; background: #FFF; transform: rotate(90deg);
}
.button:after { position: absolute; top: 20px; left: 9px; content: ''; width: 25px; height: 2px; background: #FFF;
}
.nav { transform: translateY(-10%); opacity: 0; top: 13px; left: -50px; transition: all 0.5s ease-in-out; background: #FFF; width: 150px; border-radius: 5px; transform: translateY(0%); box-shadow: 2px 3px 10px 0 rgba(0, 0, 0, 0.1);
}
.nav a { text-align: center; display: block; margin: 20px 0; color: #F28482; text-decoration: none; font-family: 'Roboto', sans-serif; text-transform: uppercase; letter-spacing: 2px;
}
#toggle:checked ~ .nav { opacity: 1; transform: translateY(10%);
}
#toggle:checked ~ .button { transform: rotate(135deg); box-shadow: 0 0 0 0 transparent;
}
Developer | Sasha |
Username | sashatran |
Uploaded | June 12, 2022 |
Rating | 4.5 |
Size | 2,967 Kb |
Views | 153,824 |
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 |
CSS Shop | 3,473 Kb |
Instagram Inspired Loader | 2,271 Kb |
CSS Gallery Hover Effect | 2,938 Kb |
Creative Juice Co. | 6,391 Kb |
VueJS Todo List | 2,158 Kb |
Layout Design | 3,488 Kb |
Subscribe Button | 2,991 Kb |
VueJS Zip Code Finder | 3,554 Kb |
Pages of 2017 | 3,411 Kb |
Random Color Generator | 3,519 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 |
CSS Hover Effects | Alen | 3,613 Kb |
Savemedia1.1 | EdsonAlcala | 2,148 Kb |
Animate a paper plane along an SVG path, looking ahead | PotatoDie | 3,734 Kb |
Lazy Load for Background Images | The_ruther4d | 2,977 Kb |
Scroll using CSS | Casperovic | 2,159 Kb |
Pagepilling.js | Blossk | 6,554 Kb |
Css3 slide | Nakome | 3,190 Kb |
A Pen by MurabitoB | MurabitoB | 4,421 Kb |
HEXAGON | Aurumlux | 1,684 Kb |
Owl Carousel - jumpTo | OwlFonk | 2,553 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!