Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • @ServalFake

    Submitted

    I'm not quite sure if using position relative and eyeballing it is the best way to center it, if anyone uses something more reliable please let me know

    Soraya 230

    @Sorpanda

    Posted

    If you use:

    min-height: 100vh; display: grid; place-content: center;

    on the body then it will center it.

    Good job!

    Marked as helpful

    0
  • Soraya 230

    @Sorpanda

    Posted

    Kevin Powell explains this very well.

    https://www.youtube.com/watch?v=_-aDOAMmDHI&t=3s&ab_channel=KevinPowell

    em changes sizes in relation to the parent element while rem looks at the root..

    1