Why do I have a weird padding at the top when I'm using a custom app.js and document.js? #12828
Answered
by
brunocrosier
helloitsm3
asked this question in
Help
-
Here's my code in index.js
|
Beta Was this translation helpful? Give feedback.
Answered by
brunocrosier
May 13, 2020
Replies: 2 comments 2 replies
-
This is probably because You can inspect the h1 element and see it will have some margin You can use a "CSS Reset" like this one in order to reset all these values DM me if you need more help :) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
timneutkens
-
Great - please go ahead and mark this as resolved :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is probably because
h1
tags come with a margin by default in ChromeYou can inspect the h1 element and see it will have some margin
You can use a "CSS Reset" like this one in order to reset all these values
DM me if you need more help :)