dashman
dashman

Reputation: 3018

CSS selector not working in {N}

I've got the following in the XML file

<Button id="note" text="" tap="onNote" class="my-note" />

In the css file, I have:

Button[class='my-note'] {font-family: 'FontAwesome'; }

This doesn't seem to work - but id selector does work.

Button[id='note'] {}

Upvotes: 0

Views: 101

Answers (1)

IvRRimUm
IvRRimUm

Reputation: 1834

button.my-note {font-family: 'FontAwesome'; }

This works for me.

Upvotes: 1

Related Questions