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: 16px;
	color: #000000;
	padding: 8px 20px;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffffff),
		color-stop(0.27, #ebebeb),
		color-stop(0.42, #c2c2c2),
		color-stop(0.65, #a6a6a6),
		to(#9c9c9c));
	background: linear-gradient(
		top,
		#ffffff 0%,
		#ebebeb 27%,
		#c2c2c2 42%,
		#a6a6a6 65%,
		#9c9c9c);
	border-radius: 10px;
	border: 1px solid #8a8a8a;
	box-shadow:
		0px 1px 3px rgba(000,000,000,0),
		inset 0px 0px 5px rgba(255,255,255,0.8);
	text-shadow:
		0px -1px 3px rgba(255,255,255,0),
		0px 1px 0px rgba(255,255,255,0);
}