Fading gradient button

1,713 Kb

How do I make an fading gradient button?

Forked from Evan Smogor's Pen LJbCB.. What is a fading gradient button? How do you make a fading gradient button? This script and codes were developed by Insprd on 13 September 2022, Tuesday.

Fading gradient button Previews

Fading gradient button - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Fading gradient button</title> <link rel="stylesheet" href="css/style.css">
<body> <span id="simple-button">Hover me for gradient magic</span>

Fading gradient button - Script Codes CSS Codes

#simple-button { height: 40px; background-image: -webkit-linear-gradient(left, #94c1e5 0%, #9083bc 100%); background-image: linear-gradient(to right, #94c1e5 0%, #9083bc 100%); /* background 1 */ background-color:#9083bc; /* background 2 */ background-repeat:no-repeat; /* don't tile */ border-radius: 10px; padding: 18px; color: white; font-family: helvetica; font-size: 12pt; font-weight: bold; line-height: 40px;
#simple-button:hover { text-decoration: none; background-position:-500px 0; /* moves both backgrounds, but the background-color is infinite so you can't tell. */ -webkit-transition: .5s ease; transition: .5s ease;
body {margin: 30px;}
Fading gradient button - Script Codes
Fading gradient button - Script Codes
Home Page Home
Developer Insprd
Username insprd
Uploaded September 13, 2022
Rating 3
Size 1,713 Kb
Views 34,391
Do you need developer help for Fading gradient 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!

Insprd (insprd) 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!