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: #000000;
	padding: 5px 5px;
	background: -moz-linear-gradient(
		top,
		#fcfcfc 0%,
		#ffea4a 15%,
		#f9d800 30%,
		#f7ce00 60%,
		#ecb900);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#fcfcfc),
		color-stop(0.15, #ffea4a),
		color-stop(0.30, #f9d800),
		color-stop(0.60, #f7ce00),
		to(#ecb900));
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #ffffff;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 2px 3px rgba(255,255,255,0.5);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 2px 3px rgba(255,255,255,0.5);
	box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 2px 3px rgba(255,255,255,0.5);
	text-shadow:
		0px 1px 0px rgba(127,127,127,0.3),
		0px 1px 0px rgba(117,115,117,0.3);
}