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: #f7f7f4;
	padding: 9px 20px;
	background: -moz-linear-gradient(
		top,
		#f7d736 0%,
		#c7d95f 52%,
		#f6bc0d 50%,
		#ffffff 75%,
		#f6bc0d);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#f7d736),
		color-stop(0.52, #c7d95f),
		color-stop(0.50, #f6bc0d),
		color-stop(0.75, #ffffff),
		to(#f6bc0d));
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;
	border-radius: 16px;
	border: 0px solid #f6bc0d;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0),
		inset 9px 0px 4px rgba(232,194,079,0.4);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0),
		inset 9px 0px 4px rgba(232,194,079,0.4);
	box-shadow:
		0px 1px 3px rgba(000,000,000,0),
		inset 9px 0px 4px rgba(232,194,079,0.4);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.2),
		0px 1px 0px rgba(255,255,255,0.4);
}