automate margin on one side to be removed when at mobile breakpoint
Hi,
What is the best way to approach this without having to re-write media query styles for mobile breakpoints?
Example: img floating left within a div with text to the right of it. The text wraps to create a paragraph wherever it hits the img. I had to add margin-right to the image so the text & image had a decent gap between.
However, once this gets to mobile, that excess margin-right will no longer be needed as the single col will display this image and all the text collapsed underneath it. The image will need to be 100% centered at that point.
Is there a better approach for this to better automate details like this?
Thank you.
