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: 7px 20px;
	background: -moz-linear-gradient(
		top,
		#76e020 0%,
		#5ce02f 38%,
		#4dc435 60%,
		#258a11 99%,
		#0b3d07);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#76e020),
		color-stop(0.38, #5ce02f),
		color-stop(0.60, #4dc435),
		color-stop(0.99, #258a11),
		to(#0b3d07));
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #858585;
	-moz-box-shadow:
		7px 0px 5px rgba(000,000,000,0.2),
		inset 0px 0px 8px rgba(255,255,255,0.5);
	-webkit-box-shadow:
		7px 0px 5px rgba(000,000,000,0.2),
		inset 0px 0px 8px rgba(255,255,255,0.5);
	box-shadow:
		7px 0px 5px rgba(000,000,000,0.2),
		inset 0px 0px 8px rgba(255,255,255,0.5);
	text-shadow:
		0px -1px 1px rgba(000,000,000,0.2),
		0px 1px 0px rgba(255,255,255,0.3);
}