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: 20px;
	color: #707070;
	padding: 19px 30px;
	background: -moz-linear-gradient(
		top,
		#a3a3a3 0%,
		#ffffff 0%,
		#f5f5f5 47%,
		#c2c2c2 75%,
		#cccccc);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#a3a3a3),
		color-stop(0.0, #ffffff),
		color-stop(0.47, #f5f5f5),
		color-stop(0.75, #c2c2c2),
		to(#cccccc));
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	border: 1px solid #b5b5b5;
	-moz-box-shadow:
		0px 1px 0px rgba(255,255,255,0),
		inset 0px 0px 1px rgba(041,028,041,0.6);
	-webkit-box-shadow:
		0px 1px 0px rgba(255,255,255,0),
		inset 0px 0px 1px rgba(041,028,041,0.6);
	box-shadow:
		0px 1px 0px rgba(255,255,255,0),
		inset 0px 0px 1px rgba(041,028,041,0.6);
	text-shadow:
		0px -1px 0px rgba(255,255,255,0.8),
		0px 1px 0px rgba(255,255,255,0.7);
}