Created
August 17, 2019 09:51
-
-
Save benmann/98699ea436fe1c6a7136f7ac8f5c0a7a to your computer and use it in GitHub Desktop.
mail-template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
h2 { | |
line-height: 1; | |
font-size: 25px!important; | |
} | |
h2 a { | |
display: block; | |
text-transform: capitalize; | |
color: #5AA2F1 !important; | |
font-size: 25px!important; | |
font-weight: 600; | |
line-height: 1; | |
} | |
</style> | |
... | |
<h2 style="margin-bottom: 5px; margin-top: 10px;"><a href="{{ $link->url }}" style="text-decoration: none;">{{ $link->title }}</a></h2> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are adding
font-size
to h2, that defeats the purpose of<h2>
tag. Why not add<p>
or<span>
?Also apply every single style to every single element all the time.
<p style="margin-bottom: 5px; margin-top: 10px; font-size: 24px;"></p>