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: 20px;
	color: #ffffff;
	padding: 10px 20px;
	background: -moz-linear-gradient(
		top,
		#ffcb7d 0%,
		#feb43e 40%,
		#ff9900 40%,
		#ff9900 75%,
		#fe9d0b);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffcb7d),
		color-stop(0.40, #feb43e),
		color-stop(0.40, #ff9900),
		color-stop(0.75, #ff9900),
		to(#fe9d0b));
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 3px solid #ff7d26;
	-moz-box-shadow:
		0px 0px 1px rgba(000,000,000,0.5),
		inset 0px 0px 10px rgba(250,250,250,1);
	-webkit-box-shadow:
		0px 0px 1px rgba(000,000,000,0.5),
		inset 0px 0px 10px rgba(250,250,250,1);
	box-shadow:
		0px 0px 1px rgba(000,000,000,0.5),
		inset 0px 0px 10px rgba(250,250,250,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}