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: 17px;
	color: #212121;
	padding: 10px 14px;
	background: -moz-linear-gradient(
		top,
		#ffffff 0%,
		#ededed 25%,
		#c9c9c9 50%,
		#dbdbdb 75%,
		#ffffff);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffffff),
		color-stop(0.25, #ededed),
		color-stop(0.50, #c9c9c9),
		color-stop(0.75, #dbdbdb),
		to(#ffffff));
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 1px solid #a3a1a0;
	-moz-box-shadow:
		0px 1px 11px rgba(000,000,000,0),
		inset 0px -1px 0px rgba(110,110,110,0.7);
	-webkit-box-shadow:
		0px 1px 11px rgba(000,000,000,0),
		inset 0px -1px 0px rgba(110,110,110,0.7);
	box-shadow:
		0px 1px 11px rgba(000,000,000,0),
		inset 0px -1px 0px rgba(110,110,110,0.7);
	text-shadow:
		0px 0px 0px rgba(000,000,000,0),
		0px 0px 0px rgba(000,000,000,0);
}