Is repeat() official?

I checked if “repeat()” was an official syntax on W3C for CSS but did not see a heading for it. I am still learning as still new, but would like to know if it is ?

Yup. It is.

See here: https://www.w3.org/TR/css-grid-1/#repeat-notation

Browser support is also universal. Check the table here: https://developer.mozilla.org/en-US/docs/Web/CSS/repeat#browser_compatibility

Note that MDN normally links to the spec. You can find a link to the latest draft on the same page: https://developer.mozilla.org/en-US/docs/Web/CSS/repeat#specifications

4 Likes

I noticed the browser support, but with the likes of Sass I thought that it could be a splinter.

Ayway, thanks for clearing that up.