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: 14px;
	color: #ffffff;
	padding: 10px 20px;
	background: -moz-linear-gradient(
		top,
		#a3a3a3 0%,
		#9ca4b3 10%,
		#152952 53%,
		#ffffff 75%,
		#2a3b4f);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#a3a3a3),
		color-stop(0.10, #9ca4b3),
		color-stop(0.53, #152952),
		color-stop(0.75, #ffffff),
		to(#2a3b4f));
	-moz-border-radius: 11px;
	-webkit-border-radius: 11px;
	border-radius: 11px;
	border: 1px solid #303554;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 4px 0px 11px rgba(045,110,207,0.7);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 4px 0px 11px rgba(045,110,207,0.7);
	box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 4px 0px 11px rgba(045,110,207,0.7);
	text-shadow:
		2px -1px 4px rgba(000,000,000,1),
		1px 1px 3px rgba(173,035,062,1);
}