I'm currently trying to find a solution for an element that needs to expand based on varying child dimensions. My initial thought was to achieve this using modulus and calc(), but since modulus isn't available, I need help figuring out how to implement it. This is for a React project, so JavaScript is an option, although achieving it through CSS would be preferable.
For example, let's say I have an element with children that total 175 pixels in width, but I want it to round up to 180px.