0

I have 25 divs side by side.

The first div needs to be 200px. The next 24 divs need to be divided equally in the remaining screen space available, so 100/24, which is 4.16%.

I need the css for the 24 equal divs. How do I calculate this using calc?

Here's the pseudocode of what I need, but LESS doesn't seem to recognize the outside %.

calc((100% - 200px) / 24)%
Prabhu
  • 12,995
  • 33
  • 127
  • 210

0 Answers0