I've been struggling to find an efficient method for creating modular containers in my stylesheet without defining a set width. My goal is to have classes like width25, width33, width50, and width100 to adjust the container's width according to different needs.
However, I also want to incorporate spacers between these containers to ensure proper spacing. The current workaround of adjusting widths and adding bumpers makes it difficult to achieve the desired layout within the parent container.
Is there a more streamlined approach to achieving this? Adding padding to the boxes further complicates the issue as it impacts the total width of the divs. I envision a clean solution where each module has the same base class with varying width classes like width25 = 25%...
Any suggestions on how to simplify this process? It's becoming quite frustrating trying to find a workable solution.