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: #944000;
	padding: 5px 10px;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffcc00),
		color-stop(0.25, #f9ff52),
		color-stop(0.46, #ffea00),
		color-stop(0.91, #ffaa00),
		to(#fff654));
	background: linear-gradient(
		top,
		#ffcc00 0%,
		#f9ff52 25%,
		#ffea00 46%,
		#ffaa00 91%,
		#fff654);
	border-radius: 8px;
	border: 3px solid #ffffff;
	box-shadow:
		2px 3px 3px rgba(000,000,000,0.3),
		inset 0px 0px 1px rgba(255,255,255,0.7);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}