Using Hex numbers in Selectors
This is a test!
Selectors and attributes names can be written HEX mumbers entirely.
See console...
Test for 1a
Test for 1x
".\0031 a" is valid but ".\0031a" is not becuase "a" can be interpreted as a hex number.
Both ".\0031 x" and ".\0031x" are valid because there is no way to interpret "x" as a hex number.
You can also use hex number to write "::before", "::after", "content"
#test{
--vvv:"A";
}
#test::before{
content:var(--vvv);
}
...can be written as...
#\74\65\73\74{
\2d\2d\76\76\76:"\41"
}
#\74\65\73\74::\62\65\66\6f\72\65 {
\63\6f\6e\74\65\6e\74:\76\61\72(\2d\2d\76\76\76);
}