Box fit

Use .bfg__box--fit modifier to indicate that a .bfg__box element should not grow or shrink.

To see it in action, resize the window.

Additionally, you can fix the size in pixels by giving the box the expected width for grid in row direction and height for grid in column direction.

Compare with attr syntax ▸

    
Box fit!