Context Query provides an extension of the widely used CSS Media Queries. To be able to adjust a web application to certain devices, the @media rule controls the styles via type and feature, mostly screen and width/height respectively. The
@context rule defines the style rules for context based features like the ambient light levels near the device amongst others.
CSS Context Queries are now part of the Adaptive Web Components Framework.