@property --_h {
syntax: '';
inherits: true;
initial-value: 100vh;
}
@property --_w {
syntax: '';
inherits: true;
initial-value: 100vw;
}
:root {
--h: tan(atan2(var(--_h),1px)); /* screen height */
--w: tan(atan2(var(--_w),1px)); /* screen width */
/* The result is an integer without unit */
}