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: #a17c18;
	padding: 6px 18px;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#454545),
		color-stop(0.50, #1f1f1f),
		color-stop(0.51, #000000),
		color-stop(0.75, #ffffff),
		to(#1a1a1a));
	background: linear-gradient(
		top,
		#454545 0%,
		#1f1f1f 50%,
		#000000 51%,
		#ffffff 75%,
		#1a1a1a);
	border-radius: 2px;
	border: 3px solid #b3923e;
	box-shadow:
		0px 1px 5px rgba(000,000,000,0.9),
		inset 0px 0px 7px rgba(000,000,000,0.7);
	text-shadow:
		-1px -1px 2px rgba(000,000,000,0.1),
		0px 0px 0px rgba(255,255,255,0);
}