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: 11px 17px;
	background: -moz-linear-gradient(
		top,
		#afafaf 0%,
		#ffc821 75%,
		#ffffff 48%,
		#ffffff 75%,
		#afafaf);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#afafaf),
		color-stop(0.75, #ffc821),
		color-stop(0.48, #ffffff),
		color-stop(0.75, #ffffff),
		to(#afafaf));
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	border: 0px solid #64b0bc;
	-moz-box-shadow:
		3px 0px 0px rgba(100,176,188,0),
		inset 0px 0px 0px rgba(255,255,255,0.3);
	-webkit-box-shadow:
		3px 0px 0px rgba(100,176,188,0),
		inset 0px 0px 0px rgba(255,255,255,0.3);
	box-shadow:
		3px 0px 0px rgba(100,176,188,0),
		inset 0px 0px 0px rgba(255,255,255,0.3);
	text-shadow:
		0px 0px 4px rgba(000,000,000,0.4),
		5px 0px 0px rgba(255,255,255,0);
}