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: #000000;
	padding: 10px 18px;
	background: -moz-linear-gradient(
		top,
		#504e4e 0%,
		#877b87 17%,
		#bdb3b3 46%,
		#6b616b 77%,
		#222222);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#504e4e),
		color-stop(0.17, #877b87),
		color-stop(0.46, #bdb3b3),
		color-stop(0.77, #6b616b),
		to(#222222));
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	border: 3px solid #3f4d4f;
	-moz-box-shadow:
		0px 1px 3px rgba(056,041,041,0.5),
		inset 0px 0px 1px rgba(043,031,043,0.7);
	-webkit-box-shadow:
		0px 1px 3px rgba(056,041,041,0.5),
		inset 0px 0px 1px rgba(043,031,043,0.7);
	box-shadow:
		0px 1px 3px rgba(056,041,041,0.5),
		inset 0px 0px 1px rgba(043,031,043,0.7);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}