css-element-queries icon indicating copy to clipboard operation
css-element-queries copied to clipboard

CSS Element-Queries aka Container Queries. High-speed element dimension/media queries in valid css.

Results 56 css-element-queries issues
Sort by recently updated
recently updated
newest added

So i have a set of css rules to handle light mode ( or default) example: ``` .featured[min-width = 451px]{ font-size; 14px; } ``` this works fine for the default...

The following codes are actually incorrect but current types won't complain about it. ```ts import { ElementQueries } from 'css-element-queries/src/ElementQueries' import { ResizeSensor } from 'css-element-queries/src/ResizeSensor' ``` They should be...

I am using angular 11. I use ResizeSensor like below ` export function resized(element: HTMLElement): Observable { let resizeSensor: ResizeSensor | undefined; let handlers: NodeEventHandler[] = []; const onResize =...

`.innerHTML` is considered a [HTML injection sink sink](https://w3c.github.io/webappsec-trusted-types/dist/spec/#html-injection-sinks) in Trusted Types. Replacing `.innerHTML` with the functionally equivalent `.textContent` for style elements should avoid Trusted Types violations.

About 10% of the time in Safari in an Angular 8 app, there are 0 stylesheets when `DOMContentLoaded` is triggered, which means ElementQueries cannot find any CSS rules to polyfill...

enhancement

We have a `detach()` method but it is not exposed in the lib's typings. Let's expose `detach()` so that transient usage of this can be properly disposed. Currently I have...

Add support for "orientation" queries ['landscape' |'portrait'|'square'] see https://github.com/marcj/css-element-queries/issues/288

We currently use some media queries `orientation: portrait` and `orientation: landscape` in order to stack block side by side or on top of each other, depending on the orientation of...

Hi, would be great if there would be a setting where a latency / timeframe can be defined so when making e.g. AJAX requests they are done after this timeframe...

enhancement