
Hello,
I have a problem to personalize roll buttons in my code.
I have create a CSS class, same as the exemple on the wiki to use a D6 picto, but does not function. I tried to use the picto on a span and it works. I don't understand where the problem.
My code :
HTML
<button type="roll" class="d6-button" style="left: 0px; top: 0px; width: 25px; height: 25px;" title="Test" name="test" value="/roll 2d6kh1"></button>
CSS
/* Dice button appearance */button[type=roll].d6-button::before{font-family: "dicefontd6";content: "f";}
Thanks for your help