CSS Buttons

Developer
Size
2,497 Kb
Views
10,120

How do I make an css buttons?

What is a css buttons? How do you make a css buttons? This script and codes were developed by Alan Neese on 30 October 2022, Sunday.

CSS Buttons Previews

CSS Buttons - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Buttons</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1><a href="http://css3buttongenerator.com/" target="blank">from CSS Button Generator</a></h1>
<button class="btn-yellow-green">Yellow Green</button>
<button class="btn-burnt-orange ">Burnt Orange</button>
<button class="btn-burnt-orange btn-bigger">Burnt Orange</button>
<button class="btn btn-blue">Blue Button</button>
<button class="btn btn-red">Red Button</button>
<button class="btn btn-green">Green Button</button>
</body>
</html>

CSS Buttons - Script Codes CSS Codes

a:link {color:black;text-decoration:none;}
a:visited {color:black;}
a:hover {color:red;text-decoration:none;}
a:active {color:yellow;}
/* Keeps blue line from appearing around links */
* { outline:none !important;
}
/***********************************************************/
/* Buttons */
/***********************************************************/
.btn-bigger { padding: 16px 30px !important; font-size: 2em !important;
}
.btn-blue { background-color: hsl(201, 100%, 30%) !important; background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a5ff", endColorstr="#006399"); background-image: -khtml-gradient(linear, left top, left bottom, from(#00a5ff), to(#006399)); background-image: -moz-linear-gradient(top, #00a5ff, #006399); background-image: -ms-linear-gradient(top, #00a5ff, #006399); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00a5ff), color-stop(100%, #006399)); background-image: -webkit-linear-gradient(top, #00a5ff, #006399); background-image: -o-linear-gradient(top, #00a5ff, #006399); background-image: linear-gradient(#00a5ff, #006399); border-color: #006399 #006399 hsl(201, 100%, 25%); color: #fff !important; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33); -webkit-font-smoothing: antialiased;
}
.btn-red { background-color: hsl(0, 69%, 22%) !important; background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b42121", endColorstr="#5e1111"); background-image: -khtml-gradient(linear, left top, left bottom, from(#b42121), to(#5e1111)); background-image: -moz-linear-gradient(top, #b42121, #5e1111); background-image: -ms-linear-gradient(top, #b42121, #5e1111); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b42121), color-stop(100%, #5e1111)); background-image: -webkit-linear-gradient(top, #b42121, #5e1111); background-image: -o-linear-gradient(top, #b42121, #5e1111); background-image: linear-gradient(#b42121, #5e1111); border-color: #5e1111 #5e1111 hsl(0, 69%, 17%); color: #fff !important; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33); -webkit-font-smoothing: antialiased;
}
.btn-green { background-color: hsl(110, 56%, 29%) !important; background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4ec236", endColorstr="#2e7320"); background-image: -khtml-gradient(linear, left top, left bottom, from(#4ec236), to(#2e7320)); background-image: -moz-linear-gradient(top, #4ec236, #2e7320); background-image: -ms-linear-gradient(top, #4ec236, #2e7320); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4ec236), color-stop(100%, #2e7320)); background-image: -webkit-linear-gradient(top, #4ec236, #2e7320); background-image: -o-linear-gradient(top, #4ec236, #2e7320); background-image: linear-gradient(#4ec236, #2e7320); border-color: #2e7320 #2e7320 hsl(110, 56%, 24%); color: #fff !important; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.33); -webkit-font-smoothing: antialiased;
}
.btn-blue:hover { opacity:0.85;
}
.btn-red:hover { opacity:0.85;
}
.btn-green:hover { opacity:0.85;
}
/***********************************************************/
/* CSS Button Generator */
/***********************************************************/
.btn-yellow-green { background: #c1de3e; background-image: -webkit-linear-gradient(top, #c1de3e, #c1de3e); background-image: -moz-linear-gradient(top, #c1de3e, #c1de3e); background-image: -ms-linear-gradient(top, #c1de3e, #c1de3e); background-image: -o-linear-gradient(top, #c1de3e, #c1de3e); background-image: linear-gradient(to bottom, #c1de3e, #c1de3e); -webkit-border-radius: 5; -moz-border-radius: 5; border-radius: 5px; font-family: Arial; color: #000000; font-size:1em; /* Change */ padding: 10px 20px 10px 20px; border: solid #bdc7a9 2px; text-decoration: none;
}
.btn-yellow-green:hover { background: #89a02c; background-image: -webkit-linear-gradient(top, #89a02c, #e2ff61); background-image: -moz-linear-gradient(top, #89a02c, #e2ff61); background-image: -ms-linear-gradient(top, #89a02c, #e2ff61); background-image: -o-linear-gradient(top, #89a02c, #e2ff61); background-image: linear-gradient(to bottom, #89a02c, #e2ff61); text-decoration: none;
}
/* Burnt Orange */
.btn-burnt-orange { background: #f0901a; background-image: -webkit-linear-gradient(top, #f0901a, #eb8826); background-image: -moz-linear-gradient(top, #f0901a, #eb8826); background-image: -ms-linear-gradient(top, #f0901a, #eb8826); background-image: -o-linear-gradient(top, #f0901a, #eb8826); background-image: linear-gradient(to bottom, #f0901a, #eb8826); -webkit-border-radius: 5; -moz-border-radius: 5; border-radius: 5px; font-family: Arial; color: #000000; font-size: 1em; padding: 10px 20px 10px 20px; text-decoration: none;
}
.btn-burnt-orange:hover { background: #a66408; background-image: -webkit-linear-gradient(top, #a66408, #f28b24); background-image: -moz-linear-gradient(top, #a66408, #f28b24); background-image: -ms-linear-gradient(top, #a66408, #f28b24); background-image: -o-linear-gradient(top, #a66408, #f28b24); background-image: linear-gradient(to bottom, #a66408, #f28b24); text-decoration: none;
}
CSS Buttons - Script Codes
CSS Buttons - Script Codes
Home Page Home
Developer Alan Neese
Username alanneese
Uploaded October 30, 2022
Rating 3
Size 2,497 Kb
Views 10,120
Do you need developer help for CSS 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!

Alan Neese (alanneese) Script Codes
Create amazing web content 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!