Juicy Red Button
How do I make an juicy red button?
What is a juicy red button? How do you make a juicy red button? This script and codes were developed by Peter Hrynkow on 14 September 2022, Wednesday.
Juicy Red Button - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Juicy Red Button</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <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> <div class="button-frame plastic"> <div class="the-button plastic"></div>
</div>
</body>
</html>
Juicy Red Button - Script Codes CSS Codes
html, body { width: 100%; height: 100%;
}
body { background: #046726;
}
.the-button { position: relative; width: 100%; height: 100%; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; padding: 0; -webkit-box-shadow: 0 0 .5em rgba(0,0,0,1), inset 0 .25em .3em rgba(255,255,255,.3), inset 0 -.25em .3em rgba(0,0,0,.5); -moz-box-shadow: 0 0 .5em rgba(0,0,0,1), inset 0 .25em .3em rgba(255,255,255,.3), inset 0 -.25em .3em rgba(0,0,0,.5); box-shadow: 0 0 .5em rgba(0,0,0,1), inset 0 .25em .3em rgba(255,255,255,.3), inset 0 -.25em .3em rgba(0,0,0,.5); font: inherit; cursor: pointer;
}
.the-button:before { content: " "; position: absolute; left: 10%; top: 10%; width: 80%; height: 80%; background: -moz-linear-gradient(top, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.14)), color-stop(50%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,0))); background: -webkit-linear-gradient(top, rgba(255,255,255,0.14) 0%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 100%); background: -o-linear-gradient(top, rgba(255,255,255,0.14) 0%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 100%); background: -ms-linear-gradient(top, rgba(255,255,255,0.14) 0%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 100%); background: linear-gradient(to bottom, rgba(255,255,255,0.14) 0%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 100%); -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%;
}
.the-button:active { -webkit-box-shadow: 0 0 .5em rgba(0,0,0,1), inset 0 .1em .3em rgba(0,0,0,.5), inset 0 -.1em .3em rgba(0,0,0,.5); -moz-box-shadow: 0 0 .5em rgba(0,0,0,1), inset 0 .1em .3em rgba(0,0,0,.5), inset 0 -.1em .3em rgba(0,0,0,.5); box-shadow: 0 0 .5em rgba(0,0,0,1), inset 0 .1em .3em rgba(0,0,0,.5), inset 0 -.1em .3em rgba(0,0,0,.5);
}
.the-button:active:before { top: 11.5%;
}
.button-frame { top: 50%; position: relative; z-index: 20; margin: -3.4em auto 0 auto; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; width: 6.8em; height: 6.8em; padding: .55em; -webkit-box-shadow: 0 0 8em rgba(189,246,163,.75) 0 0 8em rgba(189,246,163,.75), 0 0 .25em rgba(0,0,0,.9), inset 0 .25em .125em rgba(255,255,255,.3), inset 0 -.25em .125em rgba(0,0,0,.3); -moz-box-shadow: 0 0 8em rgba(189,246,163,.75), 0 0 8em rgba(189,246,163,.75), 0 0 .25em rgba(0,0,0,.9), inset 0 .25em .125em rgba(255,255,255,.3), inset 0 -.25em .125em rgba(0,0,0,.3); box-shadow: 0 0 8em rgba(189,246,163,.75), 0 0 8em rgba(189,246,163,.75), 0 0 .25em rgba(0,0,0,.9), inset 0 .25em .125em rgba(255,255,255,.3), inset 0 -.25em .125em rgba(0,0,0,.3); background: #cc0000; display: block;
}
.plastic { background: #b01e1e; /* Old browsers */ background: -moz-linear-gradient(top, #b01e1e 0%, #920f0f 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b01e1e), color-stop(100%,#920f0f)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #b01e1e 0%,#920f0f 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #b01e1e 0%,#920f0f 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #b01e1e 0%,#920f0f 100%); /* IE10+ */ background: linear-gradient(to bottom, #b01e1e 0%,#920f0f 100%); /* W3C */
}
Developer | Peter Hrynkow |
Username | peterhry |
Uploaded | September 14, 2022 |
Rating | 3.5 |
Size | 2,173 Kb |
Views | 42,504 |
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 |
Rolldown List | 3,158 Kb |
Holographic Projection | 7,177 Kb |
Hardward Accelerate Mask Reveal | 2,083 Kb |
T-Shape Visualization | 3,883 Kb |
3D Message Flipper | 2,651 Kb |
Word Wrap Algorithm for Multiline Canvas Text | 2,349 Kb |
Ripple Effect | 242,119 Kb |
A Pen by Peter Hrynkow | 2,125 Kb |
Source Order Switching | 2,136 Kb |
CSS Animation seeking with JavaScript | 3,053 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 |
Webkit decolorize | Fivera | 1,675 Kb |
Border-radius animation | Yukulele | 2,480 Kb |
Wikipedia Viewer | Thomasvaeth | 2,549 Kb |
Flower expansion | Sreucherand | 3,425 Kb |
Portfolio Landing Page | FDfranklin | 3,585 Kb |
A Pen by Oliver Schafeld | Schafeld | 1,720 Kb |
How to add Css Fold Notes In Blogger By Askwithloud.com | Askwithloud | 2,280 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Flex Table | Simeonoff | 4,059 Kb |
Sign Up Form | Sicontis | 5,272 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!