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: #8f3131;
	padding: 10px 22px;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#b0f794),
		color-stop(0.49, #97e38b),
		color-stop(0.50, #242424),
		color-stop(0.69, #2dd62d),
		to(#4da31b));
	background: linear-gradient(
		top,
		#b0f794 0%,
		#97e38b 49%,
		#242424 50%,
		#2dd62d 69%,
		#4da31b);
	border-radius: 10px;
	border: 1px solid #2b8f17;
	box-shadow:
		0px 1px 0px rgba(046,179,051,0.7),
		inset 0px 2px 6px rgba(040,214,040,0.6);
	text-shadow:
		0px -1px 0px rgba(255,234,000,1),
		0px 1px 0px rgba(255,255,255,0.2);
}