Snazzy glass buttons
How do I make an snazzy glass buttons?
All needs be changed is the background color. bam!. What is a snazzy glass buttons? How do you make a snazzy glass buttons? This script and codes were developed by Roman Diaz on 23 July 2022, Saturday.
Snazzy glass buttons - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>snazzy glass buttons</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <a href="#" class="btn" style="background:red;"><span>My Amazing Link</span></a>
<a href="#" class="btn" style="background:green;"><span>My Amazing Link</span></a>
<a href="#" class="btn" style="background:blue;"><span>My Amazing Link</span></a>
<a href="#" class="btn" style="background:turquoise;"><span>My Amazing Link</span></a> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Snazzy glass buttons - Script Codes CSS Codes
* { font-family: helvetica;
}
a.btn { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.75); font-size: 1.25em; display: inline-block; position: relative; padding: .75em; border-radius: .25em; color: white; text-decoration: none;
}
a.btn span { position: relative; z-index: 2; text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.35);
}
a.btn:hover:before { -webkit-transform: rotate(-180deg); -moz-transform: rotate(-180deg);
}
a.btn:before { z-index: 1; border-radius: .25em; border: 1px solid transparent; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; content: ""; box-shadow: inset 0 0 1em 0.25em rgba(0, 0, 0, 0.25); /* IE9 SVG, needs conditional override of 'filter' to 'none' */ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSI0NyUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC4xNyIvPgogICAgPHN0b3Agb2Zmc2V0PSI0OCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC4yIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ5JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjIiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.17) 47%, rgba(255, 255, 255, 0.2) 48%, rgba(0, 0, 0, 0.2) 49%, rgba(255, 255, 255, 0) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(47%, rgba(255, 255, 255, 0.17)), color-stop(48%, rgba(255, 255, 255, 0.2)), color-stop(49%, rgba(0, 0, 0, 0.2)), color-stop(100%, rgba(255, 255, 255, 0))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.17) 47%, rgba(255, 255, 255, 0.2) 48%, rgba(0, 0, 0, 0.2) 49%, rgba(255, 255, 255, 0) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(255, 255, 255, 0.17) 47%, rgba(255, 255, 255, 0.2) 48%, rgba(0, 0, 0, 0.2) 49%, rgba(255, 255, 255, 0) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(255, 255, 255, 0.17) 47%, rgba(255, 255, 255, 0.2) 48%, rgba(0, 0, 0, 0.2) 49%, rgba(255, 255, 255, 0) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(255, 255, 255, 0.17) 47%, rgba(255, 255, 255, 0.2) 48%, rgba(0, 0, 0, 0.2) 49%, rgba(255, 255, 255, 0) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2bffffff', endColorstr='#00ffffff', GradientType=0); /* IE6-8 */
}
Developer | Roman Diaz |
Username | romandiaz |
Uploaded | July 23, 2022 |
Rating | 3 |
Size | 3,910 Kb |
Views | 44,528 |
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 |
Basic Usage | 3,310 Kb |
A Pen by Roman Diaz | 2,267 Kb |
CSS full size background | 1,572 Kb |
Obligatory CSS3 UI Nav | 9,017 Kb |
The Creation of Adam - Pure CSS | 243,196 Kb |
4 Element CSS Clock | 5,695 Kb |
A Pen by Roman Diaz | 2,874 Kb |
Browser window | 4,200 Kb |
The Creation of Adam - Pure CSS | 145,130 Kb |
Pure CSS tooltips | 2,273 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 |
JQuery FullScreen Overlay | _codemics | 2,252 Kb |
Material Design-Layout-Principles Practice | Fraina | 2,331 Kb |
Tail rose iris lined | Kbrtrm | 1,846 Kb |
Get third wednesday | Wojtek1150 | 2,691 Kb |
LAMP PURE CSS with Animation | Dam62500 | 2,911 Kb |
Animate a paper plane along an SVG path, looking ahead | PotatoDie | 3,734 Kb |
Kudos Please | TimPietrusky | 6,624 Kb |
The Fantastic Mr Fox | MalZiiirA | 10,435 Kb |
Very Simple Slider | Doodlemarks | 2,682 Kb |
Scroll to view if element partially out of view port height | ChrisMaki | 2,104 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!