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: 10px;
	color: #ffffff;
	padding: 3px 12px;
	background: -moz-linear-gradient(
		top,
		#ffcb2d 0%,
		#ffd036 3%,
		#ffc13b 51%,
		#f3a302 46%,
		#d37801);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffcb2d),
		color-stop(0.3, #ffd036),
		color-stop(0.51, #ffc13b),
		color-stop(0.46, #f3a302),
		to(#d37801));
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #954b00;
	-moz-box-shadow:
		2px 2px 3px rgba(000,000,000,0.7),
		inset 0px -1px 0px rgba(255,252,219,0.6);
	-webkit-box-shadow:
		2px 2px 3px rgba(000,000,000,0.7),
		inset 0px -1px 0px rgba(255,252,219,0.6);
	box-shadow:
		2px 2px 3px rgba(000,000,000,0.7),
		inset 0px -1px 0px rgba(255,252,219,0.6);
	text-shadow:
		0px -1px 1px rgba(000,000,000,0.3),
		0px 1px 0px rgba(255,255,255,0.3);
}