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

  • @PriyanshuSharma0326

    Posted

    A recommendation regarding your code.

    In order to set the main container in the center of the screen:

    You need to give height: 100vh; width: 100vw; display: flex; align-items: center; justify-content: center; to the body element, and not assign any position value to the container class.

    You can also reach more information about how to center the div from here.

    I hope this helps! :)

    Marked as helpful

    1
  • @PriyanshuSharma0326

    Posted

    A recommendation regarding your code.

    In order to set the main container in the center of the screen:

    You need to give height: 100vh; width: 100vw; display: flex; align-items: center; justify-content: center; to the body element.

    You can also reach more information about how to center the div from here.

    I hope this helps!

    0