CSS3 Button Generator

showcase : detail

background

border / padding

  • px
  • px
  • px
  • px

drop shadow

  • px
  • px
  • px

inner shadow

  • px
  • px
  • px

text font

  • px

text shadow 1

  • px
  • px
  • px

text shadow 2

  • px
  • px
  • px
save+share
このエントリーをはてなブックマークに追加

HTML CODE

CSS CODE

button.css3button {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 22px;
	color: #ffffff;
	padding: 21px 30px;
	background: -moz-linear-gradient(
		top,
		#fed339 0%,
		#fe8e05 50%,
		#f55905 50%,
		#ff8800 65%,
		#ffd640);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#fed339),
		color-stop(0.50, #fe8e05),
		color-stop(0.50, #f55905),
		color-stop(0.65, #ff8800),
		to(#ffd640));
	-moz-border-radius: 29px;
	-webkit-border-radius: 29px;
	border-radius: 29px;
	border: 2px solid #ffffff;
	-moz-box-shadow:
		2px 2px 3px rgba(153,147,153,1),
		inset 0px 0px 0px rgba(096,096,110,0);
	-webkit-box-shadow:
		2px 2px 3px rgba(153,147,153,1),
		inset 0px 0px 0px rgba(096,096,110,0);
	box-shadow:
		2px 2px 3px rgba(153,147,153,1),
		inset 0px 0px 0px rgba(096,096,110,0);
	text-shadow:
		0px -1px 3px rgba(171,168,171,0.8),
		0px 1px 0px rgba(255,255,255,0.3);
}