Skip to content

Border-Box solution has incorrect values #215

Description

@manorfreeman

This is regarding the solution in:

width: 390px;

From task in:
https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Styling_basics/Box_model#playing_with_box_models

Very minor nitpick, the answer specifies a width of 390 and height of 240, but I believe that is incorrect. These values appear to include margin in the width/height of the border-box, which should not be included in the border-box size, and so the values should be 350 x 200. Happy to open a PR if it would be accepted.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions