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: #ffffff;
	padding: 12px 22px;
	background: -moz-linear-gradient(
		top,
		#ffffff 0%,
		#d60303 50%,
		#cc270a 50%,
		#ffffff 75%,
		#140505);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffffff),
		color-stop(0.50, #d60303),
		color-stop(0.50, #cc270a),
		color-stop(0.75, #ffffff),
		to(#140505));
	-moz-border-radius: 13px;
	-webkit-border-radius: 13px;
	border-radius: 13px;
	border: 2px solid #f5f5f5;
	-moz-box-shadow:
		8px 6px 4px rgba(000,000,000,0.6),
		inset 4px 0px 4px rgba(255,255,255,1);
	-webkit-box-shadow:
		8px 6px 4px rgba(000,000,000,0.6),
		inset 4px 0px 4px rgba(255,255,255,1);
	box-shadow:
		8px 6px 4px rgba(000,000,000,0.6),
		inset 4px 0px 4px rgba(255,255,255,1);
	text-shadow:
		2px -1px 0px rgba(009,240,082,0.2),
		0px 1px 0px rgba(204,014,204,0.7);
}