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: 6px 18px;
	background: -moz-linear-gradient(
		top,
		#eb2d40 0%,
		#eb2d40 51%,
		#ffffff 50%,
		#cf0029 50%,
		#cf0029);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#eb2d40),
		color-stop(0.51, #eb2d40),
		color-stop(0.50, #ffffff),
		color-stop(0.50, #cf0029),
		to(#cf0029));
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #eb1d46;
	-moz-box-shadow:
		0px 2px 2px rgba(000,000,000,0.2),
		inset 0px -15px 0px rgba(232,025,067,1);
	-webkit-box-shadow:
		0px 2px 2px rgba(000,000,000,0.2),
		inset 0px -15px 0px rgba(232,025,067,1);
	box-shadow:
		0px 2px 2px rgba(000,000,000,0.2),
		inset 0px -15px 0px rgba(232,025,067,1);
	text-shadow:
		0px 0px 0px rgba(000,000,000,0.4),
		0px 0px 0px rgba(255,255,255,0.3);
}