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: 17px;
	color: #333333;
	padding: 10px 20px;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#ffffff),
		color-stop(0.12, #ffffff),
		color-stop(0.55, #fff691),
		color-stop(0.96, #dec33c),
		to(#ba7123));
	background: linear-gradient(
		top,
		#ffffff 0%,
		#ffffff 12%,
		#fff691 55%,
		#dec33c 96%,
		#ba7123);
	border-radius: 4px;
	border: 1px solid #cccccc;
	box-shadow:
		0px 1px 3px rgba(158,158,158,0.5),
		inset 0px 0px 2px rgba(255,255,255,1);
	text-shadow:
		0px -1px 2px rgba(133,133,133,0.2),
		0px 1px 0px rgba(191,191,191,1);
}