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:
parent
fd303776a1
commit
b390c5b78b
@ -1,6 +1,10 @@
|
||||
/**
|
||||
* Override & Local CSS Variables
|
||||
*/
|
||||
@property --nes_tmp-val {
|
||||
syntax: '<color>';
|
||||
inherits: false;
|
||||
}
|
||||
.nes-tmp {
|
||||
--nes_tmp-val: black;
|
||||
}
|
||||
|
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user