#calc-size
Tagged “calc-size”
2 articlesCSS & layout
calc-size() and round() stop your background pattern getting chopped at the bottom
Ahmad Shadeed shows how to round a section's auto height to a whole multiple of its repeating background tile with calc-size() and round(), so the tile never has to shrink or stretch the way it does with background-repeat: round. The technique works only in Chrome and Edge for now, and calc-size() is not Baseline.
Oct 15, 2026 · Dex HalloranBrowser releasesSafari Technology Preview 254 lets WebKit animate to auto and trims the radius longhands
WebKit's 8 October preview adds the interpolate-size property and the calc-size() function for working with intrinsic sizes, the size, min-size and max-size shorthands, border-*-radius side shorthands such as border-top-radius, symbols() and CSS linked parameters, alongside a long run of Grid, line-clamp and VoiceOver fixes.
Oct 9, 2026 · Iris Calderón