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: #f7f7f7;
	padding: 9px 16px;
	background: -moz-linear-gradient(
		top,
		#1aff0a 0%,
		#2fb026 46%,
		#36cf97 50%,
		#ffffff 75%,
		#2fb026);
	background: -webkit-gradient(
		linear, left top, left bottom,
		from(#1aff0a),
		color-stop(0.46, #2fb026),
		color-stop(0.50, #36cf97),
		color-stop(0.75, #ffffff),
		to(#2fb026));
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border: 4px solid #ffff00;
	-moz-box-shadow:
		0px 0px 32px rgba(255,255,000,1),
		inset 18px 8px 10px rgba(214,117,175,0);
	-webkit-box-shadow:
		0px 0px 32px rgba(255,255,000,1),
		inset 18px 8px 10px rgba(214,117,175,0);
	box-shadow:
		0px 0px 32px rgba(255,255,000,1),
		inset 18px 8px 10px rgba(214,117,175,0);
	text-shadow:
		0px 1px 0px rgba(255,255,255,1),
		0px 0px 0px rgba(252,252,252,1);
}