@beaventura
Posted
So, what are you going to do to have it responsive depending on the device being used when accessing the site? For me, I will set a breakpoint if the device dimension is 640px (mobile), 1024px (laptop), or 1400px (desktop). That's the basis for you to change its class style. I hope it helps 🤗
@pimoux
Posted
Yes your solution works too but I was wondering if there is a way to change the value of the margin and padding when resizing the screen and avoid using media queries. Normally when we set percentage values, the value depends on the size of the elements. I think it depends on the context and if the latter is too complicated, using media queries is a better solution.