Now that you're doing this I was wondering if it's a good idea to implement font icons, here's an example.
The advantage is that you can resize a font icon without losing quality, you also can change it's color and since we can use advanced CSS techniques we can also use text-gradients, shadows, etc.
We don't have to use that font icon package so It might be even smaller than 40kb for the whole package.
The big concern is of course, compatibility, browsers must be compatible with web fonts and CSS3.
Replace image buttons with css
Re: [RFC] Replace image buttons with css
Slightly better English than it was in 2005, still improving
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC] Replace image buttons with css
Do you know what browsers that may be compatible with? The only mention of compatibility on that website is that it works in IE7; it does not mention other browsers or other versions as far as I could find.
Re: [RFC] Replace image buttons with css
Since it's just a web font, compatibity depends on @font-face, if the browser supports it then it'll work. Here's a font-face compatibility list. I tested it myself on Chrome, IE8, Firefox, Opera and the Android browser (ICS), Chrome for Android also renders it correctly.
Slightly better English than it was in 2005, still improving
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC] Replace image buttons with css
That's a pretty cool website, I will have to save that one
Re: [RFC] Replace image buttons with css
That's a great idea.
It should work with all browsers.EXreaction wrote:Do you know what browsers that may be compatible with?
Formerly known as CyberAlien.
Free phpBB styles | Premium responsive XenForo styles | Iconify - modern open source replacement for glyph fonts
Free phpBB styles | Premium responsive XenForo styles | Iconify - modern open source replacement for glyph fonts
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] Replace image buttons with css
That's really not what fonts are designed for, though.
- nickvergessen
- Former Team Member
- Posts: 733
- Joined: Sun Oct 07, 2007 11:54 am
- Location: Stuttgart, Germany
- Contact:
Re: [RFC] Replace image buttons with css
Even Twitter Bootstrap is going to switch to a webfont instead of using images for the icons. Not designed for, yes. But the effort is great.callumacrae wrote:That's really not what fonts are designed for, though.
Member of the Development-Team — No Support via PM
Re: [RFC] Replace image buttons with css
I'm all +1 for this idea. Btw. - speaking of CSS solutions: Is there already a RFC for changing round courners from image-overlay to css?
I modified my own prosilver and got no complaints from my users so far.
I modified my own prosilver and got no complaints from my users so far.
Re: [RFC] Replace image buttons with css
That's already taken care of and merged back in April. (click)DocSommer wrote:Is there already a RFC for changing round courners from image-overlay to css?
You might want to use the search function before asking those questions (or simply check the source of Area51).
Above message may contain errors in grammar, spelling or wrongly chosen words. This is because I'm not a native speaker. My apologies in advance.
Re: [RFC] Replace image buttons with css
thx - it just crossed my mind while I was writing my reply, that's why I said "btw". I would have taken more time for investigating before starting a new thread about this.