サンプル

See the Pen Codepen by Tora (@webtoranomaki) on CodePen.

コード


<a class="btn btn01" href="#">Button</a>

.btn {
	display: inline-block;
	width: 200px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	-webkit-transition: .3s;
	transition: .3s;
}
.btn01 {
	color: #fff;
	background-color: #333;
}
.btn01:hover {
	color: #069;
}