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: #050505;
	padding: 10px 20px;
	background: -moz-linear-gradient(
		top,
		#fae58f 0%,
		#ffd966 30%,
		#a38302 8%,
		#9f7f00 94%,
		#9f7f00);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#fae58f),
		color-stop(0.30, #ffd966),
		color-stop(0.8, #a38302),
		color-stop(0.94, #9f7f00),
		to(#9f7f00));
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 2px solid #fff89b;
	-moz-box-shadow:
		0px -2px 0px rgba(255,234,139,0.3),
		inset 0px 0px 0px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		0px -2px 0px rgba(255,234,139,0.3),
		inset 0px 0px 0px rgba(255,255,255,0.7);
	box-shadow:
		0px -2px 0px rgba(255,234,139,0.3),
		inset 0px 0px 0px rgba(255,255,255,0.7);
	text-shadow:
		0px 1px 1px rgba(255,234,139,1),
		0px 0px 0px rgba(255,255,255,0.3);
}