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: 12px;
	color: #ffffff;
	padding: 10px 20px;
	background: -moz-linear-gradient(
		top,
		#ff0000 0%,
		#ffffff 25%,
		#e307e3 50%,
		#ffffff 75%,
		#4a4026);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ff0000),
		color-stop(0.25, #ffffff),
		color-stop(0.50, #e307e3),
		color-stop(0.75, #ffffff),
		to(#4a4026));
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	border-radius: 30px;
	border: 1px solid #000000;
	-moz-box-shadow:
		2px 2px 6px rgba(255,000,255,1),
		inset 0px 0px 1px rgba(227,018,227,0.7);
	-webkit-box-shadow:
		2px 2px 6px rgba(255,000,255,1),
		inset 0px 0px 1px rgba(227,018,227,0.7);
	box-shadow:
		2px 2px 6px rgba(255,000,255,1),
		inset 0px 0px 1px rgba(227,018,227,0.7);
	text-shadow:
		0px -1px 0px rgba(255,000,255,0.4),
		0px 1px 0px rgba(255,000,255,0.3);
}