![Rachel Andrew](https://web.dev/images/authors/rachelandrew.jpg) Rachel Andrew Technical Writer [GitHub](https://github.com/rachelandrew) [LinkedIn](https://www.linkedin.com/in/rachelandrew) [Mastodon](https://front-end.social/@rachelandrew) [Bluesky](https://bsky.app/profile/rachelandrew.bsky.social) [Homepage](https://rachelandrew.co.uk)

<br />


Published: June 24, 2025

<br />

Chrome 138 is rolling out now, and this post shares some of the key features
from the release. Read the full [Chrome 138 release notes](https://developer.chrome.com/release-notes/138.md.txt).

Highlights from this release:

- Use the new [built-in AI APIs](https://developer.chrome.com/blog/new-in-chrome-138.md.txt#built-in) to summarize, translate, or detect the language of text.
- Check out several new [CSS functions](https://developer.chrome.com/blog/new-in-chrome-138.md.txt#css-functions).
- Adapt your web layout to target foldable devices with the [Viewport Segments API](https://developer.chrome.com/blog/new-in-chrome-138.md.txt#viewport-segments).

## The Translator, Language Detector, and Summarizer APIs

Chrome is developing web platform APIs and browser features designed to work with AI models, expert models and large language models (LLMs), built in the browser. With built-in AI, your website or web application can perform AI-powered tasks, without needing to deploy, manage, or self-host AI models.

From Chrome 138, you can add translation capabilities to your web application
with the
[Translator API](https://developer.chrome.com/docs/ai/translator-api.md.txt). This can let users contribute in their first language. For example, when participating in support chats, your site can translate their content into the language your support agents use, before it leaves the user's device. This creates a smooth, fast, and inclusive experience for all users.

The Translator API can work alongside the
[Language Detector API](https://developer.chrome.com/docs/ai/language-detection.md.txt) to enable
language detection on the user's own device, providing better privacy than
alternative solutions that require upload to a cloud server.

The [Summarizer API](https://developer.chrome.com/docs/ai/summarizer-api.md.txt) can be used to generate different types of summaries in varied lengths and formats, such as sentences, paragraphs, bullet point lists, and more. For example:

- Summarizing the key points of an article or a chat conversation.
- Suggesting titles and headings for articles.
- Creating a concise and informative summary of a lengthy text.
- Generating a teaser for a book based on a book review.

## CSS functions

CSS functions included in Chrome 138 include the sign-related functions `abs()` and `sign()`, which compute various functions related to the sign of their argument.

Also, the `progress()` functional notation that returns a `<number>` value representing the
position of one calculation (the progress value) between two other calculations
(the progress start value and progress end value).

Finally, the `sibling-index()` and `sibling-count()` functions can be used as integers in
CSS property values to style elements based on their position among its
siblings, or the total number of siblings respectively.

## The Viewport Segments API

The Viewport Segments API lets you target foldable devices.
Viewport segments are
created when the viewport is split by one or more hardware features (such as a
fold or a hinge between separate displays) that act as a divider.

Find out more in [Support foldable devices with the Viewport Segments API](https://developer.chrome.com/blog/viewport-segments-api-shipped.md.txt).

## And more!

Of course there's plenty more:

- When `<` and `>` are in an attribute value, they are [now escaped on serialization](https://developer.chrome.com/blog/escape-attributes.md.txt?hl=e).
- Two new values---`"prefetchCache"` and `"prerenderCache"`--- for the `Clear-Site-Data` header let you target clearing the prerender and prefetch cache.
- The `stretch` keyword for CSS sizing properties (for example, `width` and `height`) lets elements grow to exactly fill their containing block's available space.