テキスト<a href="#" class="cp_textlink02">リンクテキスト-link text-</a>テキスト
.cp_block {
margin: 5em auto;
text-align: center;
}
.cp_textlink02 {
position: relative;
padding: 0.1em 0.3em;
transition: all 0.3s ease;
text-decoration: none;
color: #00bcd4;
}
.cp_textlink02::before {
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 2px;
content: '';
transition: all 0.3s ease;
background-color: #00bcd4;
}
.cp_textlink02:hover::before {
transform: scaleY(4);
}