Forums / Craftwork / Client-side / Cotonti UI elements

Developing a set of CSS3 interface elements

GHengeveld
#33066 2012-02-06 14:51

Yes, I intend to add state styles, as used by cot_error().

Data-URIs for images aren't supported in all browsers. I've opted to implement something that works cross-browser first. The same goes for @font-face. Actually the best solution would be to use inline (base64) SVGs, but that's not supported at all. @font-face is problematic in terms of accessibility because screen readers don't know a character is actually an icon (image).

Update: I did some research into data-uris and found an interesting article on the topic. It seems it's possible to get data-uris working in most browsers, including IE6 and 7.

I recently added some more interface elements: http://dev.ghengeveld.nl/css3/buttons/

This post was edited by GHengeveld (2012-02-06 15:05, 12 years ago)