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: 12px;
	color: #000000;
	padding: 4px 16px;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#fffaff),
		color-stop(0.50, #fcf9fc),
		color-stop(0.50, #dbd7db),
		color-stop(0.99, #8a8a8a),
		to(#e6dde6));
	background: linear-gradient(
		top,
		#fffaff 0%,
		#fcf9fc 50%,
		#dbd7db 50%,
		#8a8a8a 99%,
		#e6dde6);
	border-radius: 6px;
	border: 1px solid #666066;
	box-shadow:
		0px 1px 3px rgba(148,145,148,0.5),
		inset 0px 1px 1px rgba(255,255,255,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.2),
		0px 0px 0px rgba(015,015,015,1);
}