Question · HTML and CSS course · Module 9: Modern CSS

Defining a Container for CQ

How do you define a container for Container Queries?

Answer options

  • display: container
  • container: true
  • container-type: inline-size or size
  • query-container: yes

You can check the correct answer by solving this task in the CodeWorlds game.