@property Support
-
Hello im trying to setup a Website for my friend and he wants to include a counter at the bottom. Im unhappy with the counter in the plugin so I decided to build one in css. I managed to track down the approriate functions to do so but when i try to save those in WordPress i get the Errormessage “Markup is not allowed in CSS” even though i dont use markup and it works fine on the site previw when i put it in additional css i just cant save it.
CSS Code:
@property --property-name { syntax: '<color>'; inherits: false; initial-value: #c0ffee; } .countingnumbers { transition: --num 1s; counter-reset: num var(--num); } .countingnumbers:hover { --num: 10000; } .countingnumbers::after { content: counter(num); }Html Code:
<div class=”countingnumbers”></div>The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘@property Support’ is closed to new replies.