Juicy Red Button

Developer
Size
2,173 Kb
Views
42,504

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 Previews

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 */
}
Juicy Red Button - Script Codes
Juicy Red Button - Script Codes
Home Page Home
Developer Peter Hrynkow
Username peterhry
Uploaded September 14, 2022
Rating 3.5
Size 2,173 Kb
Views 42,504
Do you need developer help for Juicy Red Button?

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!

Peter Hrynkow (peterhry) Script Codes
Create amazing SEO content 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!