0
JSFiddle에서 '기타'가 아닌 '자세히'버튼을 클릭하면 링크가 작동하지 않습니다.버튼 전체를 클릭 할 수 없음
SCSS
button {
padding: 8px 20px;
border: 0;
@include border-radius(6px);
font-size: 0.8em;
text-transform: uppercase;
float: right;
cursor: pointer;
display: block;
a {
display: block;
color: white;
text-decoration: none;
}
}
.green {
background: #9fd468;
display: block;
&:hover {
background: #ace175;
}
&:active {
@include box-shadow (inset 2px 2px 1px #759f49);
}
}
HTML
<button class="green">
<a href="<?php the_permalink(); ?>">More</a>
</button>