Created
May 24, 2013 19:41
-
-
Save trumball/5646013 to your computer and use it in GitHub Desktop.
Default H1-H5 Headers
I have offered lots of common syntax including browser CSS resets and a few HTML element resets. This template includes default styles for all major heading elements ranging from H1-H5. You may also consider adding H6 but I have never seen a website using all six nested headers.
This file contains hidden or 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
h1,h2,h3,h4,h5{ | |
color: #005a9c; | |
} | |
h1{ | |
font-size: 2.6em; | |
line-height: 2.45em; | |
} | |
h2{ | |
font-size: 2.1em; | |
line-height: 1.9em; | |
} | |
h3{ | |
font-size: 1.8em; | |
line-height: 1.65em; | |
} | |
h4{ | |
font-size: 1.65em; | |
line-height: 1.4em; | |
} | |
h5{ | |
font-size: 1.4em; | |
line-height: 1.25em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment