01-08-2018 02:35
01-08-2018 02:35
How would i write the CSS to change size and color of a button text?
01-08-2018 10:36
01-08-2018 10:36
I've played around with various css selectors and I didn't manage to do it. I'm sure you're aware, but for others, you can change them inline though using the attributeName attribute
<use id="btn-name" href="#square-button" y="0%" fill="fb-red">
<set href="#text" attributeName="text-buffer" to="Button" />
<set href="#text" attributeName="font-size" to="30" />
<set href="#text" attributeName="fill" to="fb-blue" />
</use>
From googling around it looks like an SVG limitation maybe?