Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Testing empty values */
- .test:before { content: attr(class); }
- .test {
- border: var(--bar) solid;
- }
- .test_valid {
- --bar: ;
- }
- .test_invalid {
- --bar:;
- }
- .test_defined {
- --bar: 10px;
- }
- .test_fallback_valid {
- --bar: var(--foo, )
- }
- .test_fallback_invalid {
- --bar: var(--foo,)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement