最近、紫芋を使ったスイーツが増えてきましたね。
見本はこちら
http://jsdo.it/Yukimi.Sato/rBvF
HTML
<a class="btn gradation-purple" href="#">ボタン</a>
CSS
.gradation-purple { color: #FFFFFF; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15); background-color: #5f52a0; background-image: -moz-linear-gradient(top, #877db7, #5f52a0); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#877db7), to(#5f52a0)); background-image: -webkit-linear-gradient(top, #877db7, #5f52a0); background-image: -o-linear-gradient(top, #877db7, #5f52a0); background-image: linear-gradient(to bottom, #877db7, #5f52a0); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff877db7', endColorstr='#ff5f52a0', GradientType=0); border-color: #7468b4 #5b4e9e #463a8b; *background-color: #5f52a0; *border: 1px solid #463a8b; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.10); } .gradation-purple:hover{ color: #FFFFFF; background-color: #5f52a0; }