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: 14px;
	color: #ffffff;
	padding: 10px 20px;
	background: -moz-linear-gradient(
		top,
		#59e028 0%,
		#75e04e 20%,
		#2b8f07 56%,
		#339e08 94%,
		#38c700);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#59e028),
		color-stop(0.20, #75e04e),
		color-stop(0.56, #2b8f07),
		color-stop(0.94, #339e08),
		to(#38c700));
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	border: 1px solid #1d7308;
	-moz-box-shadow:
		0px 3px 0px rgba(018,077,003,0),
		inset 0px 1px 1px rgba(087,232,079,1);
	-webkit-box-shadow:
		0px 3px 0px rgba(018,077,003,0),
		inset 0px 1px 1px rgba(087,232,079,1);
	box-shadow:
		0px 3px 0px rgba(018,077,003,0),
		inset 0px 1px 1px rgba(087,232,079,1);
	text-shadow:
		0px -1px 0px rgba(015,069,000,0.5),
		0px 1px 0px rgba(255,255,255,0.3);
}