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: #ffffff;
	padding: 10px 30px;
	background: -moz-linear-gradient(
		top,
		#0088ff 0%,
		#ff82ec 25%,
		#ffffff 50%,
		#ffffff 75%,
		#0e00d9);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#0088ff),
		color-stop(0.25, #ff82ec),
		color-stop(0.50, #ffffff),
		color-stop(0.75, #ffffff),
		to(#0e00d9));
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 2px solid #f7f7f7;
	-moz-box-shadow:
		0px 3px 11px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(006,000,184,1);
	-webkit-box-shadow:
		0px 3px 11px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(006,000,184,1);
	box-shadow:
		0px 3px 11px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(006,000,184,1);
	text-shadow:
		0px -1px 0px rgba(163,163,163,0.2),
		0px 1px 0px rgba(168,168,168,0.3);
}