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: 13px;
	color: #ffffff;
	padding: 20px 1px;
	background: -moz-linear-gradient(
		top,
		#ffdc7d 0%,
		#ffffff 25%,
		#ffbd17 50%,
		#ffffff 75%,
		#b1720e);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffdc7d),
		color-stop(0.25, #ffffff),
		color-stop(0.50, #ffbd17),
		color-stop(0.75, #ffffff),
		to(#b1720e));
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	border: 0px solid #1d0a02;
	-moz-box-shadow:
		3px 2px 0px rgba(075,040,002,1),
		inset 4px 3px 1px rgba(255,255,255,0.6);
	-webkit-box-shadow:
		3px 2px 0px rgba(075,040,002,1),
		inset 4px 3px 1px rgba(255,255,255,0.6);
	box-shadow:
		3px 2px 0px rgba(075,040,002,1),
		inset 4px 3px 1px rgba(255,255,255,0.6);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0),
		0px 1px 0px rgba(255,255,255,0.3);
}