Make it a little better for mobile.
This commit is contained in:
+2
-2
@@ -10,7 +10,7 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
padding: 6rem;
|
padding: clamp(1.5rem, 8vw, 6rem);;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@@ -34,7 +34,7 @@ header {
|
|||||||
#hero {
|
#hero {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: calc(100% + 1rem);
|
bottom: calc(100% + 1rem);
|
||||||
font-size: 4rem;
|
font-size: clamp(1.5rem, 8vw, 4rem);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user