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: 10px 24px;
	background: -moz-linear-gradient(
		top,
		#618f60 0%,
		#618f60 42%,
		#ffffff 50%,
		#507d4f 75%,
		#507d4f);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#618f60),
		color-stop(0.42, #618f60),
		color-stop(0.50, #ffffff),
		color-stop(0.75, #507d4f),
		to(#507d4f));
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	border: 0px solid #171717;
	-moz-box-shadow:
		3px 3px 0px rgba(059,093,058,0.5),
		inset 0px 0px 0px rgba(087,087,087,0);
	-webkit-box-shadow:
		3px 3px 0px rgba(059,093,058,0.5),
		inset 0px 0px 0px rgba(087,087,087,0);
	box-shadow:
		3px 3px 0px rgba(059,093,058,0.5),
		inset 0px 0px 0px rgba(087,087,087,0);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0),
		0px 1px 0px rgba(255,255,255,0);
}