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

  • @WH-Designs

    Posted

    Hey Lucas, you did very well with this challenge, there are many ways to center a div with css, and the way you did it used one method using Margin: auto; which will center the div depending on how the div is displaying, if that be display: block; or display: inline;

    I would recommend that you also take a look at flex box and learning the basics of that because it is another way of centering an element but also allows for so much more flexibility with mobile and desktop screens.

    Marked as helpful

    1
  • @WH-Designs

    Posted

    Hello Adrian,

    1. Yes you used flex direction perfectly
    2. Its really a preference thing everyone has their own styles, some editors do have built in formatting that you can use and then adjust to your liking

    Hope this helps

    Marked as helpful

    1