Introduce some :is
usage in the textLayer CSS
This commit is contained in:
parent
f1b005d7b8
commit
5cb99321d7
@ -21,8 +21,7 @@
|
||||
line-height: 1;
|
||||
opacity: 1;
|
||||
}
|
||||
.textLayer span,
|
||||
.textLayer br {
|
||||
.textLayer :is(span, br) {
|
||||
color: black;
|
||||
position: absolute;
|
||||
white-space: pre;
|
||||
|
@ -38,8 +38,7 @@
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.textLayer span,
|
||||
.textLayer br {
|
||||
.textLayer :is(span, br) {
|
||||
color: transparent;
|
||||
position: absolute;
|
||||
white-space: pre;
|
||||
|
Loading…
Reference in New Issue
Block a user