use-container-queries
Version:
A react hook that tracks a containers size and the range that width falls into within a list of breakpoints. This allows better responsive styling, where the user can style DOM elements based on their container, rather than the browser viewport.
Filename | Content Type | Size | |
---|---|---|---|
../ | |||
700 B | |||
2.05 kB | |||
220 B | |||
5.14 kB | |||
9.34 kB | |||
1.71 kB | |||
7.68 kB | |||
5.04 kB | |||
9.32 kB | |||
115 B |