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: 9px 20px;
	background: -moz-linear-gradient(
		top,
		#d94343 0%,
		#ff0000 24%,
		#eb4d4d 52%,
		#c24040 51%,
		#ad0000);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#d94343),
		color-stop(0.24, #ff0000),
		color-stop(0.52, #eb4d4d),
		color-stop(0.51, #c24040),
		to(#ad0000));
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	border: 2px solid #a63333;
	-moz-box-shadow:
		1px 1px 5px rgba(166,166,166,0.4),
		inset 0px 0px 10px rgba(217,130,130,0.7);
	-webkit-box-shadow:
		1px 1px 5px rgba(166,166,166,0.4),
		inset 0px 0px 10px rgba(217,130,130,0.7);
	box-shadow:
		1px 1px 5px rgba(166,166,166,0.4),
		inset 0px 0px 10px rgba(217,130,130,0.7);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}