I am trying to define my own HTML attributes not for styling purposes but mainly because they will actually get functions described in javascript. Now I know HTML5 comes with the data- attributes but I personally like the thought of my own HTML tag.
Browsing through the internet I found XMLNS is the way to go, however, I can not find how you can style those elements.
Can someone please shine some light on the matter?
If your element is called ui:tabbar, you’ll need to use a selector like:
in your CSS. You’ll need to test this in older versions of IE, as I believe they’ll need a bit more coercing.
Though you likely know it, this isn’t really what you are ‘meant’ to do, and you’ll find many people think you are a complete nutter for suggesting it 🙂