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: #f2f2f2;
	padding: 10px 20px;
	background: -moz-linear-gradient(
		top,
		#000000 0%,
		#141214 45%,
		#0a060a 99%,
		#0a080a 99%,
		#2e182e);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#000000),
		color-stop(0.45, #141214),
		color-stop(0.99, #0a060a),
		color-stop(0.99, #0a080a),
		to(#2e182e));
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 2px solid #ededed;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.2),
		inset 0px 0px 2px rgba(247,247,247,1);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.2),
		inset 0px 0px 2px rgba(247,247,247,1);
	box-shadow:
		0px 1px 3px rgba(000,000,000,0.2),
		inset 0px 0px 2px rgba(247,247,247,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.2),
		0px 1px 0px rgba(255,255,255,1);
}