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: 16px;
	color: #f5f5f5;
	padding: 13px 22px;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#f50c0c),
		color-stop(0.18, #ffffff),
		color-stop(0.50, #ffffff),
		color-stop(0.75, #ffffff),
		to(#fa0505));
	background: linear-gradient(
		top,
		#f50c0c 0%,
		#ffffff 18%,
		#ffffff 50%,
		#ffffff 75%,
		#fa0505);
	border-radius: 15px;
	border: 2px solid #080808;
	box-shadow:
		0px 0px 3px rgba(255,003,003,0.7),
		inset 0px 0px 2px rgba(252,000,000,1);
	text-shadow:
		0px 1px 1px rgba(010,010,010,0.7),
		1px 1px 0px rgba(245,245,245,0.3);
}