any body know if it's possible to pass value global from :root file
to other css file
for @media operation
. I've the feeling is not possible.
If it's possible, how ?
If it's not possible, why ?
my idea is do that
global css file loaded at first
:root {
--value: 200px;
--my-height:20px;
}
other css file
@media(min-width : var(--value)) {
.my_class {
height: var(--my-height);
}