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: 12px;
	color: #757575;
	padding: 4px 14px;
	background: -moz-linear-gradient(
		top,
		#e8e8e8 0%,
		#e0e0e0 45%,
		#c7c7c7 58%,
		#ffffff 75%,
		#a3a3a3);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#e8e8e8),
		color-stop(0.45, #e0e0e0),
		color-stop(0.58, #c7c7c7),
		color-stop(0.75, #ffffff),
		to(#a3a3a3));
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #b0b0b0;
	-moz-box-shadow:
		0px 1px 2px rgba(089,089,089,0.2),
		inset 0px 1px 0px rgba(255,255,255,1);
	-webkit-box-shadow:
		0px 1px 2px rgba(089,089,089,0.2),
		inset 0px 1px 0px rgba(255,255,255,1);
	box-shadow:
		0px 1px 2px rgba(089,089,089,0.2),
		inset 0px 1px 0px rgba(255,255,255,1);
	text-shadow:
		0px -1px 1px rgba(079,079,079,0.3),
		0px 1px 0px rgba(247,247,247,0.5);
}