Color switching button

Developer
Size
2,764 Kb
Views
20,240

How do I make an color switching button?

What is a color switching button? How do you make a color switching button? This script and codes were developed by Matheus Silva on 20 October 2022, Thursday.

Color switching button Previews

Color switching button - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>color switching button</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.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! */ @import url("https://fonts.googleapis.com/css?family=Montserrat");
body { background: #333; display: flex; align-items: center; text-align: center; justify-content: center; height: 100%; width: 100%; background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/90399/asfalt.png"); image-repeat: repeat;
}
.navtop { background: #fff; width: 200px; height: 50px; border-top: 6px solid #67809f; font: normal 1.5em Montserrat; color: #67809f; display: flex; align-items: center; text-align: center; justify-content: center; text-align: center; cursor: pointer; text-decoration: none; transition: all .5s;
}
.navtop:hover { background: #67809f; color: #fff; border-top: 6px solid #fff;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <a class="navtop" href="#">Download</a> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Color switching button - Script Codes CSS Codes

@import url("https://fonts.googleapis.com/css?family=Montserrat");
body { background: #333; display: flex; align-items: center; text-align: center; justify-content: center; height: 100%; width: 100%; background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/90399/asfalt.png"); image-repeat: repeat;
}
.navtop { background: #fff; width: 200px; height: 50px; border-top: 6px solid #67809f; font: normal 1.5em Montserrat; color: #67809f; display: flex; align-items: center; text-align: center; justify-content: center; text-align: center; cursor: pointer; text-decoration: none; transition: all .5s;
}
.navtop:hover { background: #67809f; color: #fff; border-top: 6px solid #fff;
}
Color switching button - Script Codes
Color switching button - Script Codes
Home Page Home
Developer Matheus Silva
Username matheusxaviersi
Uploaded October 20, 2022
Rating 3
Size 2,764 Kb
Views 20,240
Do you need developer help for Color switching 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!

Matheus Silva (matheusxaviersi) Script Codes
Create amazing Facebook ads 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!