Checks whether a viewport breakpoint value is a safe CSS length.
Description
Viewport breakpoints are limited to numeric px, em, and rem lengths.CSS functions, percentages, and other units are rejected because breakpoint values are interpolated into generated media queries.
Signature, return type and hooks compared across 1 parsed release.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/class-wp-theme-json.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.