global style
Text Styles
- Only Headlines should be set using the max() approach;
- Headlines include: Hero, H1, H2, H3, H4, H5, H6. (anything above 20px);
- Everything else (p, text, link) should be set in rem;
- Convert desktop pixel sizes to vw, using this online converter (link);
Headings
Use Fluid Type Approach for text styles below:
[h1.hero-txt]
This Is A Hero Headline
[h1]
This is Headline H1
[h2]
This is Headline H2
[h3]
This is Headline H3
[h4]
This is Headline H4
[h5]
This is Headline H5
Use REM sizes for text styles below:
[h6]
This is Headline H6
Subheadings and buttons
Body text
Use REM sizes for text styles below:
[p]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque cursus luctus dolor sed dignissim.
Fusce sollicitudin, neque quis fringilla iaculis, turpis risus volutpat.
[p > a]
Click here to apply. Quisque cursus luctus dolor sed dignissim.
[p.small]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque cursus luctus dolor sed
dignissim.
Fusce sollicitudin, neque quis fringilla iaculis, turpis risus volutpat.
[p.small > a]
Click here to apply. Quisque cursus luctus dolor sed dignissim.