Red div elements are shown to highlight the inline margin at the start and end of the blue div element.
Demo of the different values of the margin-inline property.
Click the property values below to see the
Play more with the code in our Tryit yourself editor:
Try it Yourself ❯