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: #f4f4ed;
	padding: 12px 30px;
	background: -moz-linear-gradient(
		top,
		#000067 0%,
		#ffffff 48%,
		#ffffff 47%,
		#ffffff 47%,
		#000067);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#000067),
		color-stop(0.48, #ffffff),
		color-stop(0.47, #ffffff),
		color-stop(0.47, #ffffff),
		to(#000067));
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	border: 3px solid #cccccc;
	-moz-box-shadow:
		0px 0px 0px rgba(000,000,103,0),
		inset 0px 0px 0px rgba(000,000,103,0);
	-webkit-box-shadow:
		0px 0px 0px rgba(000,000,103,0),
		inset 0px 0px 0px rgba(000,000,103,0);
	box-shadow:
		0px 0px 0px rgba(000,000,103,0),
		inset 0px 0px 0px rgba(000,000,103,0);
	text-shadow:
		0px 0px 0px rgba(244,244,237,0.7),
		0px 1px 0px rgba(244,244,237,0.3);
}