A Sexy Button Hover

Developer
Size
4,752 Kb
Views
26,312

How do I make an a sexy button hover?

Working on recreating a sweet hover state I saw on the new Videri Chocolate website designed and developed by Purple Rock Scissors. . What is a a sexy button hover? How do you make a a sexy button hover? This script and codes were developed by Nick Hehr on 15 August 2022, Monday.

A Sexy Button Hover Previews

A Sexy Button Hover - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Sexy Button Hover</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ button:hover { background-color: #ab9979; background-image: -webkit-linear-gradient(-200deg, #ab9979 60%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.1) 80%, #ab9979 80%, #ab9979 100%); background-image: linear-gradient(-70deg,#ab9979 60%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.1) 80%, #ab9979 80%, #ab9979 100%); background-repeat: no-repeat;
}
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0;
}
body { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: box; -webkit-box-orient: vertical; -moz-box-orient: vertical; box-orient: vertical; -webkit-box-pack: start; -moz-box-pack: start; box-pack: start; -ms-flex-pack: start; -webkit-box-align: center; -moz-box-align: center; box-align: center; -ms-flex-align: center; background: #ECDFC8;
}
h1 { color: #053e53; font-family: "museo-slab", garamond, serif; font-size: 3em; font-weight: 700; margin: 0; padding: 2em 0 .25em;
}
h3 { color: #0e5f7d; font-family: "museo-sans-rounded", "open sans", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; font-size: 1.8em; font-weight: 300; padding: 0 0 3em;
}
h3 a { text-decoration: none; color: #0e5f7d;
}
h3 a:hover { text-decoration: underline;
}
h3 a#prpl { color: #4d004d;
}
button { background: #BFB198; background-size: 0% 100%; border: 1px solid #857353; border-bottom: 8px solid #564A35; color: #053e53; display: block; font-family: "museo", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; font-size: 1.5em; outline: none; padding: .5em 0; position: relative; min-width: 300px; width: 40%; -webkit-transition: -webkit-transform 0.3s step-start, background-size 1.2s cubic-bezier(0.215, 0.61, 0.355, 1); -moz-transition: -moz-transform 0.3s step-start, background-size 1.2s cubic-bezier(0.215, 0.61, 0.355, 1); transition: transform 0.3s step-start, background-size 1.2s cubic-bezier(0.215, 0.61, 0.355, 1); /*&:after { background: rgba(255, 255, 255, 0.1); display: inline-block; content: ''; position: absolute; width: 50%; height: 100%; top: 0; left: 0; background-position: left center; background-size: 100%; @include transform(translateX(-105%) skewX(-20deg)); @include transition(all 2s $ease-out-expo); }*/
}
button:hover { background-size: 550% 100%; /*&:after { @include transform( translateX(215%) translateZ(0) skewX(-20deg)); }*/
}
button:active { border-bottom: 1px solid #857353; -webkit-transform: translateY(7px); -moz-transform: translateY(7px); -ms-transform: translateY(7px); -o-transform: translateY(7px); transform: translateY(7px);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <script type="text/javascript" src="//use.typekit.net/dik5xgb.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<h1>A Sexy Button Hover</h1>
<h3>Inspired by <a id="prpl" href="http://purplerockscissors.com/">PRPL's</a> <a id="videri" href="https://viderichocolatefactory.com">Videri Design</a></h3>
<button>All About The Hovers</button>
</body>
</html>

A Sexy Button Hover - Script Codes CSS Codes

button:hover { background-color: #ab9979; background-image: -webkit-linear-gradient(-200deg, #ab9979 60%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.1) 80%, #ab9979 80%, #ab9979 100%); background-image: linear-gradient(-70deg,#ab9979 60%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.1) 80%, #ab9979 80%, #ab9979 100%); background-repeat: no-repeat;
}
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0;
}
body { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: box; -webkit-box-orient: vertical; -moz-box-orient: vertical; box-orient: vertical; -webkit-box-pack: start; -moz-box-pack: start; box-pack: start; -ms-flex-pack: start; -webkit-box-align: center; -moz-box-align: center; box-align: center; -ms-flex-align: center; background: #ECDFC8;
}
h1 { color: #053e53; font-family: "museo-slab", garamond, serif; font-size: 3em; font-weight: 700; margin: 0; padding: 2em 0 .25em;
}
h3 { color: #0e5f7d; font-family: "museo-sans-rounded", "open sans", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; font-size: 1.8em; font-weight: 300; padding: 0 0 3em;
}
h3 a { text-decoration: none; color: #0e5f7d;
}
h3 a:hover { text-decoration: underline;
}
h3 a#prpl { color: #4d004d;
}
button { background: #BFB198; background-size: 0% 100%; border: 1px solid #857353; border-bottom: 8px solid #564A35; color: #053e53; display: block; font-family: "museo", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; font-size: 1.5em; outline: none; padding: .5em 0; position: relative; min-width: 300px; width: 40%; -webkit-transition: -webkit-transform 0.3s step-start, background-size 1.2s cubic-bezier(0.215, 0.61, 0.355, 1); -moz-transition: -moz-transform 0.3s step-start, background-size 1.2s cubic-bezier(0.215, 0.61, 0.355, 1); transition: transform 0.3s step-start, background-size 1.2s cubic-bezier(0.215, 0.61, 0.355, 1); /*&:after { background: rgba(255, 255, 255, 0.1); display: inline-block; content: ''; position: absolute; width: 50%; height: 100%; top: 0; left: 0; background-position: left center; background-size: 100%; @include transform(translateX(-105%) skewX(-20deg)); @include transition(all 2s $ease-out-expo); }*/
}
button:hover { background-size: 550% 100%; /*&:after { @include transform( translateX(215%) translateZ(0) skewX(-20deg)); }*/
}
button:active { border-bottom: 1px solid #857353; -webkit-transform: translateY(7px); -moz-transform: translateY(7px); -ms-transform: translateY(7px); -o-transform: translateY(7px); transform: translateY(7px);
}
A Sexy Button Hover - Script Codes
A Sexy Button Hover - Script Codes
Home Page Home
Developer Nick Hehr
Username HipsterBrown
Uploaded August 15, 2022
Rating 3
Size 4,752 Kb
Views 26,312
Do you need developer help for A Sexy Button Hover?

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!

Nick Hehr (HipsterBrown) 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!