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: 16px 24px;
	background: -moz-linear-gradient(
		top,
		#82c2df 0%,
		#cce2f5 42%,
		#85adcc 42%,
		#5c8aa1 43%,
		#74bfe8);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#82c2df),
		color-stop(0.42, #cce2f5),
		color-stop(0.42, #85adcc),
		color-stop(0.43, #5c8aa1),
		to(#74bfe8));
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 3px solid #171717;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 10px rgba(087,087,087,0.7);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 10px rgba(087,087,087,0.7);
	box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 10px rgba(087,087,087,0.7);
	text-shadow:
		0px 2px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(000,000,000,1);
}