May 2024 web platform update
Newly available on the web platform
Newly available
-
light-dark(): The
light-dark()
CSS function accepts two colors and uses one depending on the current color scheme. Learn more. -
round(), mod(), and rem(): The
round()
,mod()
, andrem()
CSS functions compute rounded values and the remainder after division. Learn more. -
text-wrap: balance: The
text-wrap: balance
CSS declaration balances the length of each line when text is broken into multiple lines. Also known as headline balancing. Learn more. -
zoom: The
zoom
CSS property scales the size of an element. Unlike thetransform
property, a zoomed element affects page layout. Learn more.
Now available in Chrome
Limited availability
-
Anchor positioning: Anchor positioning places an element based on the position of another element. For example, you can place a tooltip next to the content it references. Learn more.
-
CPU compute pressure: The
PressureObserver
API monitors CPU load, allowing you to adjust workloads in response to available computing resources. Also known as the Compute Pressure API. Learn more.
Now available in Chrome Android
Limited availability
-
Anchor positioning: Anchor positioning places an element based on the position of another element. For example, you can place a tooltip next to the content it references. Learn more.
Now available in Edge
Limited availability
-
Anchor positioning: Anchor positioning places an element based on the position of another element. For example, you can place a tooltip next to the content it references. Learn more.
-
CPU compute pressure: The
PressureObserver
API monitors CPU load, allowing you to adjust workloads in response to available computing resources. Also known as the Compute Pressure API. Learn more.
Now available in Safari
Limited availability
-
@starting-style: The
@starting-style
CSS at-rule defines the starting values for properties that are transitioning when the target element's style is first updated. Learn more.
Now available in Safari on iOS
Limited availability
-
@starting-style: The
@starting-style
CSS at-rule defines the starting values for properties that are transitioning when the target element's style is first updated. Learn more.