CSS Button Generator

Customize Your CSS3 Buttons

Ever find your self building a new site and having to flip back and forth to Photoshop and your editor to create your button every time? Well I found a really useful tool online to speed up that process. The site lets you creat slick buttons really easily with sliders and drop-downs for fonts, gradients, borders, shadows and more.

Creating an image-less css3 button that is cross browser compatible and has an older browser fall back involves quite a bit of code. (see below) …

.big-button {
	-moz-box-shadow: 0px 1px 4px 0px #3e8ad6;
	-webkit-box-shadow: 0px 1px 4px 0px #3e8ad6;
	box-shadow: 0px 1px 4px 0px #3e8ad6;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #297acc), color-stop(1, #184e85) );
	background:-moz-linear-gradient( center top, #297acc 5%, #184e85 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#297acc', endColorstr='#184e85');
	background-color:#297acc;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #2671bd;
	display:inline-block;
	color:#ffffff;
	font-family:arial;
	font-size:16px;
	font-weight:bold;
	padding:10px 28px;
	text-decoration:none;
	text-shadow:1px 1px 0px #154b82;
}.big-button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #184e85), color-stop(1, #297acc) );
	background:-moz-linear-gradient( center top, #184e85 5%, #297acc 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#184e85', endColorstr='#297acc');
	background-color:#184e85;
}.big-button:active {
	position:relative;
	top:1px;
}

Quite a bit right? Well CSS Button Generator can handle all of this for you on the fly.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>