AI, Development & Tech News

Chrome 160 Beta: One line of CSS determines the rounding and shape of corners

261203 chrome 160 beta css corners corner cover image
Skip to table of contents
Contents 4 sections
  1. What does the „corner“ declaration change in CSS?
  2. What does Chrome 160 bring for SVG graphics?
  3. What this means for you
  4. Sources

With the new CSS property „corner“ you can set the rounding and shape of corners in a single declaration in Google's Chrome 160 browser. The version is now available as a beta, and Google plans the final version for January 5, 2027.

For you as a web designer or owner of your own website, the release notes also contain a new way to access SVG paths via script, and a change that can affect old jump anchors.

What does the „corner“ declaration change in CSS?

Until now, you need two properties for a beveled or especially softly rounded corner: „border-radius“ for the size and „corner-shape“ for the shape. Chrome 160 combines both, so that „corner: squircle 24px;“ rounds all four corners of a box softly, like an app icon.

New corner declarations in CSS
This is how the preliminary release notes for Chrome 160 describe it
You want to styleDeclaration in CSS
  • all four cornerscorner
  • the top left cornercorner-top-left
  • the two top cornerscorner-top
  • at the top for German textcorner-block-start
Beta: Changes are possible until the final version
Sources: Chrome Platform Status, CSS Working Group

According to the Chrome 160 release notes, the shorthand also exists for individual corners, such as „corner-top-left“, and for entire edges like „corner-top“. There are also variants that follow the writing direction. Chrome also understands the name „corners“. The syntax comes from a draft of the CSS Working Group, so not yet from a finished standard.

The corner shapes themselves are not new, as Chrome has supported „corner-shape“ according to MDN since version 139. In Safari, according to the same documentation, the property only arrives with version 27.3, which is still in beta, and Firefox so far only knows it in pre-release versions. Visitors with other browsers therefore continue to see ordinary corners.

What does Chrome 160 bring for SVG graphics?

With three new methods, a script reads and changes the shape of an SVG path segment by segment. „getPathData()“ returns each command along with its numeric values, „setPathData()“ writes the list back, and „getPathSegmentAtLength()“ finds the segment at a particular point along the line. Until now, you had to parse the string in the „d“ attribute yourself.

If desired, the browser reduces every path to four basic commands, with which the drawing pen can be moved, a line or curve drawn, and the shape closed. The technology is mainly new for Chrome, since Firefox has offered the three methods according to MDN since version 137. For Safari, no support is listed there yet.

What this means for you

It's best to check older pages without a DOCTYPE line, which browsers render in so-called quirks mode. There, Chrome 160 will in future distinguish between uppercase and lowercase for jump anchors: A link to „#Preise“ will then no longer find the anchor named „preise“. According to Google, Safari and Firefox already behave this way. Match the spelling of link and target, and the jump will work everywhere.

It's best to use new corner shapes only as a visual enhancement. Write „border-radius“ first and check whether your box also looks good with round corners. It's best to test the shorthand in advance in the Chrome beta. For websites going online now, the two separate properties are better, because more browsers support them.

Google has set the start of the Chrome 160 beta in its schedule for December 2, 2026, and still lists the release notes as a preview.

Sources

Comments

Register and comment.

Continue reading

You might also like

View all articles →