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

  • @rbhgaston

    Submitted

    What challenges did you encounter, and how did you overcome them?

    I wanted to expand the list items (links) to fill the available width space. So i used width: 100% but it does not work: in fact the content itself takes the space but the rest of box model like the padding and margin become outside the parent element which is in this case the card element. Is there another method to to make the items take the space without having to use padding manually like I have done here ( to make the website more responsive). Thanks for your help

    enkvadrat 20

    @enkvadrat

    Posted

    You can use

    box-sizing: border-box;
    

    to make the padding included in the width learn more at mdn

    Marked as helpful

    1