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: #ecebf2;
	padding: 10px 20px;
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#d0d3fa),
		color-stop(0.99, #ffffff),
		color-stop(0.99, #ffffff),
		color-stop(0.99, #ffffff),
		to(#7981f4));
	background: linear-gradient(
		top,
		#d0d3fa 0%,
		#ffffff 99%,
		#ffffff 99%,
		#ffffff 99%,
		#7981f4);
	border-radius: 8px;
	border: 2px solid #00067d;
	box-shadow:
		31px 26px 27px rgba(000,000,000,0),
		inset 1px 0px 2px rgba(255,255,255,1);
	text-shadow:
		0px -1px 0px rgba(236,235,242,0),
		0px 1px 0px rgba(236,235,242,0.3);
}