responsive headings font size
This commit is contained in:
parent
e923c4c87b
commit
8e3b3ed0c0
1 changed files with 2 additions and 2 deletions
4
home.css
4
home.css
|
|
@ -17,14 +17,14 @@ main h1 {
|
|||
text-align: center;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
font-size: 8em;
|
||||
font-size: clamp(4em, 14vw, 8em);
|
||||
margin-top: 5%;
|
||||
}
|
||||
|
||||
main h2 {
|
||||
margin: 4% auto;
|
||||
text-align: center;
|
||||
font-size: 4em;
|
||||
font-size: clamp(2.5em, 5vw, 4em);
|
||||
}
|
||||
|
||||
main p {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue