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: #333333;
	padding: 16px 30px;
	background: -moz-linear-gradient(
		top,
		#696969 0%,
		#a8a8a8 53%,
		#4a52ef 67%,
		#bdbdbd 90%,
		#e0e0e0);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#696969),
		color-stop(0.53, #a8a8a8),
		color-stop(0.67, #4a52ef),
		color-stop(0.90, #bdbdbd),
		to(#e0e0e0));
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 2px solid #000000;
	-moz-box-shadow:
		0px 1px 2px rgba(104,105,107,0.5),
		inset 0px 0px 10px rgba(255,255,255,1);
	-webkit-box-shadow:
		0px 1px 2px rgba(104,105,107,0.5),
		inset 0px 0px 10px rgba(255,255,255,1);
	box-shadow:
		0px 1px 2px rgba(104,105,107,0.5),
		inset 0px 0px 10px rgba(255,255,255,1);
	text-shadow:
		1px 1px 1px rgba(255,255,255,0),
		0px 1px 0px rgba(204,204,204,1);
}