# @container and :has(): two powerful new responsive APIs

DevFeed: [@container and :has(): two powerful new responsive APIs](<https://devfeed.tech/articles/container-and-has-two-powerful-new-responsive-apis-28745.md>)

Original publisher: [Read original article](<https://una.im/2022-08-03-cq/>)

Published: 2022-08-03T00:00:00Z

Content type: article

Language: en

Sources: [Una Kravets](<https://devfeed.tech/sources/una-kravets.md>)

Topics: [container](<https://devfeed.tech/topics/container.md>), [ui](<https://devfeed.tech/topics/ui.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [container](<https://devfeed.tech/tags/container.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

An article about using CSS container queries and :has() to build responsive user interfaces.

## Source excerpt

Leverage the responsive UI power of container queries + :has().