January 2021 web platform update
Newly available on the web platform
Newly available
-
:is(): The
:is()
CSS functional pseudo-class takes a selector list as its argument, and matches any element that can be selected by one of the selectors in that list. Learn more. -
:where(): The
:where()
CSS functional pseudo-class takes a selector list as its argument, and matches any element that can be selected by one of the selectors in that list. It is functionally equivalent to the selectors in the list, but doesn't affect the CSS rule specificity. Learn more.
Now available in Chrome
Limited availability
-
aspect-ratio: The
aspect-ratio
CSS property controls the width-to-height ratio of elements. For<img>
and<video>
elements, thewidth
andheight
attributes used together withheight: auto
control the aspect ratio while the image/video is loading. Learn more.
Now available in Chrome Android
Limited availability
-
aspect-ratio: The
aspect-ratio
CSS property controls the width-to-height ratio of elements. For<img>
and<video>
elements, thewidth
andheight
attributes used together withheight: auto
control the aspect ratio while the image/video is loading. Learn more.
Now available in Edge
Limited availability
-
aspect-ratio: The
aspect-ratio
CSS property controls the width-to-height ratio of elements. For<img>
and<video>
elements, thewidth
andheight
attributes used together withheight: auto
control the aspect ratio while the image/video is loading. Learn more.
Now available in Firefox
Limited availability
-
:focus-visible: The
:focus-visible
CSS pseudo-class selects elements that match the:focus
pseudo-class and meets the browser's criteria for visually emphasizing focused elements. Learn more.
Now available in Firefox for Android
Limited availability
-
:focus-visible: The
:focus-visible
CSS pseudo-class selects elements that match the:focus
pseudo-class and meets the browser's criteria for visually emphasizing focused elements. Learn more.