variable padding
This commit is contained in:
parent
adb0cc52a8
commit
b2c73a8b39
@ -14,6 +14,20 @@ html, body {
|
||||
body {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
/* Media query for smaller screens */
|
||||
@media (max-width: 768px) {
|
||||
html, body {
|
||||
padding: 0 10px; /* Adjust the padding values for smaller screens */
|
||||
}
|
||||
}
|
||||
|
||||
/* Media query for larger screens */
|
||||
@media (min-width: 1024px) {
|
||||
html, body {
|
||||
padding: 0 40px; /* Adjust the padding values for larger screens */
|
||||
}
|
||||
}
|
||||
|
||||
/* Reset margin top for elements */
|
||||
h1, h2, h3, h4, h5, h6,
|
||||
|
Loading…
Reference in New Issue
Block a user