I am trying to create a row of 3 items or more that will shift down responsively.
I currently have the following which works:
They shift down ok, but I am having trouble getting margins on the right hand side of the inner items, so there is equal spacing between them, but also having the left and right ones align to the edges, if that makes sense ?
The problem with this approach is that you are working against bootstrap and not with it.
Note that you should not remove the margins from .row because .row contains negative margins to offset the padding on the container. This is an integral part of the bootstrap gutter system.
In the end you can do what you like but why use a framework if you are going to roll your own code:)
To clarify the above point you could build the page like this using an element inside the col class to preserve the native bootstrap gutters and avoid over-riding and creating more media queries.
I am having some trouble with adding span tags inside the myboxclass. If the text is too long, it is breaking out of the container. This seems to be when on desktop
I have read that flex-shrink may be able to fix this, but I havenโt managed to work it out.
Do you know how I would stop the span tags from breaking out?