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: 18px;
	color: #000000;
	padding: 7px 30px;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#00aaff),
		color-stop(0.50, #c7d95f),
		color-stop(0.50, #add136),
		color-stop(0.75, #ffffff),
		to(#00aaff));
	background: linear-gradient(
		top,
		#00aaff 0%,
		#c7d95f 50%,
		#add136 50%,
		#ffffff 75%,
		#00aaff);
	border-radius: 2px;
	border: 1px solid #00aaff;
	box-shadow:
		0px 0px 20px rgba(000,000,000,0.3),
		inset 0px 0px 2px rgba(000,170,255,0);
	text-shadow:
		0px -1px 4px rgba(000,000,000,0),
		0px 1px 0px rgba(000,000,000,0.4);
}