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: #5bebdf;
	padding: 8px 20px;
	background: -moz-linear-gradient(
		top,
		#a2b2f2 0%,
		#ebebeb 50%,
		#ffffff 50%,
		#ffffff 92%,
		#d6d6d6);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#a2b2f2),
		color-stop(0.50, #ebebeb),
		color-stop(0.50, #ffffff),
		color-stop(0.92, #ffffff),
		to(#d6d6d6));
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 6px solid #cfcdc7;
	-moz-box-shadow:
		0px 1px 3px rgba(030,176,039,1),
		inset 11px 0px 3px rgba(227,061,227,0);
	-webkit-box-shadow:
		0px 1px 3px rgba(030,176,039,1),
		inset 11px 0px 3px rgba(227,061,227,0);
	box-shadow:
		0px 1px 3px rgba(030,176,039,1),
		inset 11px 0px 3px rgba(227,061,227,0);
	text-shadow:
		0px -1px 0px rgba(217,028,217,0.1),
		0px 1px 0px rgba(255,063,056,1);
}