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: 5px 10px;
	background: -moz-linear-gradient(
		top,
		#b8b8b8 0%,
		#a399a3 50%,
		#ffffff 20%,
		#262526 85%,
		#191a1c);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#b8b8b8),
		color-stop(0.50, #a399a3),
		color-stop(0.20, #ffffff),
		color-stop(0.85, #262526),
		to(#191a1c));
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	border: 0px solid #000000;
	-moz-box-shadow:
		0px 1px 20px rgba(000,000,000,1),
		inset 0px 0px 1px rgba(255,255,255,1);
	-webkit-box-shadow:
		0px 1px 20px rgba(000,000,000,1),
		inset 0px 0px 1px rgba(255,255,255,1);
	box-shadow:
		0px 1px 20px rgba(000,000,000,1),
		inset 0px 0px 1px rgba(255,255,255,1);
	text-shadow:
		1px 1px 18px rgba(000,000,000,1),
		1px 1px 0px rgba(000,000,000,0.3);
}