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: 18px;
	color: #ffffff;
	padding: 10px 30px;
	background: -moz-linear-gradient(
		top,
		#d18ac6 0%,
		#ffffff 25%,
		#f5d0d1 50%,
		#baadba 75%,
		#de64ad);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#d18ac6),
		color-stop(0.25, #ffffff),
		color-stop(0.50, #f5d0d1),
		color-stop(0.75, #baadba),
		to(#de64ad));
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid #cf6a6a;
	-moz-box-shadow:
		2px 5px 10px rgba(000,000,000,0.5),
		inset 0px 0px 10px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		2px 5px 10px rgba(000,000,000,0.5),
		inset 0px 0px 10px rgba(255,255,255,0.7);
	box-shadow:
		2px 5px 10px rgba(000,000,000,0.5),
		inset 0px 0px 10px rgba(255,255,255,0.7);
	text-shadow:
		2px 2px 2px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}