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: 19px;
	color: #ffffff;
	padding: 6px 22px;
	background: -moz-linear-gradient(
		top,
		#0022ff 0%,
		#00a6ff 10%,
		#4cd5ff 50%,
		#00a6ff 90%,
		#0022ff);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#0022ff),
		color-stop(0.10, #00a6ff),
		color-stop(0.50, #4cd5ff),
		color-stop(0.90, #00a6ff),
		to(#0022ff));
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	border: 1px solid #a8a8a8;
	-moz-box-shadow:
		3px 3px 3px rgba(255,255,255,1),
		inset 2px 2px 4px rgba(000,000,000,1);
	-webkit-box-shadow:
		3px 3px 3px rgba(255,255,255,1),
		inset 2px 2px 4px rgba(000,000,000,1);
	box-shadow:
		3px 3px 3px rgba(255,255,255,1),
		inset 2px 2px 4px rgba(000,000,000,1);
	text-shadow:
		2px 2px 2px rgba(000,000,000,1),
		0px 1px 0px rgba(255,255,255,1);
}