Closed antonieIPR closed 1 year ago
what would you want to happen? You can use the gap utility.
I expected that the child element was going to be 'pushed' inward. Will try the gap utility and report back.
it works properly. One thing to realize is that there is a different system than bootstrap.
m-1 is the smallest. m-5 is the biggest. and there are incremental steps.
Each version has a number ranging from 0 and 5 and auto. 0 means no padding or margin for that direction.
1 is the default distance divided by 3 (so 1.5rem / 3 = 0.5rem) 2 is the default distance - the distance of one (so 1.5rem - 0.5rem = 1rem) 3 is the default distance 4 is the default distance times one and a halve. (1.5rem 1.5 = 2.25rem) 5 is the default distance times two. (1.5rem 2 = 3rem)
All clear
When adding a margin to a child element like this:
..my viewport gets a horizontal scrollbar, because the element is >100% of the width of the
<body>
.