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: 6px 15px;
	background: -moz-linear-gradient(
		top,
		#527d29 0%,
		#3b3b3b 50%,
		#242424 50%,
		#ffffff 75%,
		#527d29);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#527d29),
		color-stop(0.50, #3b3b3b),
		color-stop(0.50, #242424),
		color-stop(0.75, #ffffff),
		to(#527d29));
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #2d5217;
	-moz-box-shadow:
		0px 1px 1px rgba(255,250,255,0.5),
		inset 0px 0px 2px rgba(255,255,255,0.5);
	-webkit-box-shadow:
		0px 1px 1px rgba(255,250,255,0.5),
		inset 0px 0px 2px rgba(255,255,255,0.5);
	box-shadow:
		0px 1px 1px rgba(255,250,255,0.5),
		inset 0px 0px 2px rgba(255,255,255,0.5);
	text-shadow:
		0px -1px 1px rgba(056,097,048,1),
		0px 1px 0px rgba(255,255,255,0.2);
}