Snazzy glass buttons

Developer
Size
3,910 Kb
Views
44,528

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 Previews

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 */
}
Snazzy glass buttons - Script Codes
Snazzy glass buttons - Script Codes
Home Page Home
Developer Roman Diaz
Username romandiaz
Uploaded July 23, 2022
Rating 3
Size 3,910 Kb
Views 44,528
Do you need developer help for Snazzy glass buttons?

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!

Roman Diaz (romandiaz) Script Codes
Create amazing marketing copy 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!