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: 13px;
	color: #000333;
	padding: 10px 20px;
	background: -moz-linear-gradient(
		top,
		#f2f3f5 0%,
		#e3e5e9 49%,
		#d9dde1 50%,
		#ffffff 75%,
		#dcdfe2);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#f2f3f5),
		color-stop(0.49, #e3e5e9),
		color-stop(0.50, #d9dde1),
		color-stop(0.75, #ffffff),
		to(#dcdfe2));
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #9d9d9d;
	-moz-box-shadow:
		0px 0px 0px rgba(000,000,000,0),
		inset 1px 1px 1px rgba(255,255,255,1);
	-webkit-box-shadow:
		0px 0px 0px rgba(000,000,000,0),
		inset 1px 1px 1px rgba(255,255,255,1);
	box-shadow:
		0px 0px 0px rgba(000,000,000,0),
		inset 1px 1px 1px rgba(255,255,255,1);
	text-shadow:
		1px 2px 1px rgba(255,255,255,0.6),
		0px 0px 0px rgba(255,255,255,0);
}