1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-04-20 22:22:05 +02:00

local property

This commit is contained in:
BcRikko 2023-04-03 17:32:16 +09:00
parent fd303776a1
commit b390c5b78b
2 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,10 @@
/**
* Override & Local CSS Variables
*/
@property --nes_tmp-val {
syntax: '<color>';
inherits: false;
}
.nes-tmp {
--nes_tmp-val: black;
}

View File

@ -1,6 +1,10 @@
/**
* Override & Local CSS Variables
*/
@property --nes_btn-inner {
syntax: '<shadow>';
inherits: false;
}
.nes-btn {
--nes_btn-inner:
inset 0 calc(var(--nes-btn-border-width-inner) * -1) var(--nes-btn-border-color-inner),