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: 20px;
	color: #15591d;
	padding: 12px 20px;
	background: -moz-linear-gradient(
		top,
		#afd9fa 0%,
		#ffffff 37%,
		#ffffff 73%,
		#ffffff 82%,
		#ab577d);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#afd9fa),
		color-stop(0.37, #ffffff),
		color-stop(0.73, #ffffff),
		color-stop(0.82, #ffffff),
		to(#ab577d));
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;
	border-radius: 16px;
	border: 2px solid #660025;
	-moz-box-shadow:
		2px 4px 7px rgba(000,000,000,1),
		inset 2px 0px 7px rgba(224,106,027,1);
	-webkit-box-shadow:
		2px 4px 7px rgba(000,000,000,1),
		inset 2px 0px 7px rgba(224,106,027,1);
	box-shadow:
		2px 4px 7px rgba(000,000,000,1),
		inset 2px 0px 7px rgba(224,106,027,1);
	text-shadow:
		1px 1px 6px rgba(214,045,214,1),
		1px 1px 6px rgba(020,044,163,0.6);
}