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: #0d0b0d;
	padding: 7px 30px;
	background: -moz-linear-gradient(
		top,
		#ffffff 0%,
		#ffffff 36%,
		#d9d9d9 71%,
		#ebebeb 97%,
		#ffffff);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffffff),
		color-stop(0.36, #ffffff),
		color-stop(0.71, #d9d9d9),
		color-stop(0.97, #ebebeb),
		to(#ffffff));
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #cccccc;
	-moz-box-shadow:
		0px 1px 3px rgba(189,189,189,0.5),
		inset 0px 0px 10px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		0px 1px 3px rgba(189,189,189,0.5),
		inset 0px 0px 10px rgba(255,255,255,0.7);
	box-shadow:
		0px 1px 3px rgba(189,189,189,0.5),
		inset 0px 0px 10px rgba(255,255,255,0.7);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}