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: 16px;
	color: #ffffff;
	padding: 10px 20px;
	background: -moz-linear-gradient(
		top,
		#5cbe2f 0%,
		#5cbe2f 10%,
		#338225 79%,
		#338225 82%,
		#2b4c1c);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#5cbe2f),
		color-stop(0.10, #5cbe2f),
		color-stop(0.79, #338225),
		color-stop(0.82, #338225),
		to(#2b4c1c));
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 0px solid #2ea100;
	-moz-box-shadow:
		0px 3px 4px rgba(000,000,000,0.8),
		inset 2px 4px 3px rgba(255,252,250,0.3);
	-webkit-box-shadow:
		0px 3px 4px rgba(000,000,000,0.8),
		inset 2px 4px 3px rgba(255,252,250,0.3);
	box-shadow:
		0px 3px 4px rgba(000,000,000,0.8),
		inset 2px 4px 3px rgba(255,252,250,0.3);
	text-shadow:
		-1px -1px 3px rgba(000,000,000,1),
		1px 1px 3px rgba(000,000,000,1);
}