I need help creating a button with an arrow similar to the image below:
https://i.sstatic.net/aJp7B.png
However, my current code is producing a button that looks like this:
https://i.sstatic.net/tuHvT.png
This is my code snippet:
.ms-btn,
.ms-btn:hover {
border: 2px solid #3E5B73;
color: #3E5B73;
font-size: 12px;
font-family: 'Ubuntu';
border-radius: 40px;
padding: 16px 28px;
position: relative;
background: transparent;
transition: 0.3s all linear;
}
.ms-btn:before {
content: url(../img/image-left.svg);
position: absolute;
left: -15px;
top: 23%;
/*background: #fff;*/
padding: 5px;
height: 24px;
display: flex;
transform: translateX(0px);
transition: 0.3s all linear;
}
<a class="ms-btn" href="">LEARN MORE</a>
I am looking for a CSS solution to adjust the button borders so they align properly with the arrow. Any suggestions are welcome!