@MelvinAguilar
Posted
Hello there ๐. Good job on completing the challenge !
-
You can use the following styles to center the element effectively using grid layout, also, use
min-height: 100vh
instead ofheight
. Setting the height to 100vh may result in the component being cut off on smaller screens :body { min-height: 100vh; display: grid; place-items: center; /* Additional styles if needed */ }
-
You should use a CSS reset. A CSS reset is a set of CSS rules that are applied to a webpage in order to remove the default styling of different browsers.
CSS resets that are widely used:
I hope you find it useful! ๐
Happy coding!
Marked as helpful