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: 10px;
	color: #ffffff;
	padding: 9px 30px;
	background: -moz-linear-gradient(
		top,
		#00afef 0%,
		#8fb8ff 50%,
		#ff5eb9 50%,
		#3d7eff 50%,
		#00afef);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#00afef),
		color-stop(0.50, #8fb8ff),
		color-stop(0.50, #ff5eb9),
		color-stop(0.50, #3d7eff),
		to(#00afef));
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	border-radius: 30px;
	border: 0px solid #ffffff;
	-moz-box-shadow:
		0px -2px 0px rgba(168,227,250,1),
		inset 0px -2px 0px rgba(003,003,003,0.3);
	-webkit-box-shadow:
		0px -2px 0px rgba(168,227,250,1),
		inset 0px -2px 0px rgba(003,003,003,0.3);
	box-shadow:
		0px -2px 0px rgba(168,227,250,1),
		inset 0px -2px 0px rgba(003,003,003,0.3);
	text-shadow:
		1px 1px 2px rgba(255,255,255,0),
		-1px 1px 2px rgba(255,255,255,0);
}