I'm looking to achieve the button this photo, but I can't work out how to align the icon with the text?
Current code:
.btn {
-webkit-border-radius: 4;
-moz-border-radius: 4;
border-radius: 4px;
font-family: 'Raleway', sans-serif;
font-weight: 300;
color: #ffffff;
font-size: 17px;
background: #72a031;
display: inline-block;
padding: 0px 30px 0px 25px;
text-decoration: none;
}
.btn:hover {
background: #61872c;
text-decoration: none;
}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
<button class='btn'>
<i style="font-size: 1.73em; position: relative;" class="fab fa-steam-symbol"></i> Log in with Steam
</button>
I understand it's messy, it's really late and I just want this SIMPLE thing working!