Pretty neat, not that I’d say it validates (but it easily could). I almost can’t believe he wrote all that CSS by hand.
Note, I actually had to sit with my mouse over the image for a while before I saw the whole thing, so if you don’t see humans, give it a bit.
Pretty neat, does not use CSS transforms or anything goofy. This is plain-old shuffling sprites around on :hover but done in a complicated and awesome way.
Just don’t show your clients this, they’ll want you to do this with their photos lawlz.
very very awesome, i will have to make some of my own now, i was actually planning on doing that (something similar), right after finishing the infinitely looping css perpetual wheel i was making.
Yuri: all I want for Christmas is a p0ny and some parent selectors.
Get on it!
BTW Cortés is the guy who did that “image” of Homer Simpson totally from abso-po’d letters, which didn’t work for me back when I first saw it because you need Verdana. Now that I have that font, it looks fantastic.
darn! i can’t believe i have to do all that now!
[leaves to find some pony and parent selectors]
BTW Cortés is the guy who did that “image” of Homer Simpson totally from abso-po’d letters, which didn’t work for me back when I first saw it because you need Verdana. Now that I have that font, it looks fantastic.
That is very impressive indeed!
That CSS is mind numbing, it must have been his pet project for quite some time.
I am kinda confused though about these pixel background-position values in decimals. I didn’t think that browsers were really honoring that, I was under the impression they were rounding them out.
I was thinking the same thing. The CSS is massive. Kudos to this
I am kinda confused though about these pixel background-position values in decimals. I didn’t think that browsers were really honoring that, I was under the impression they were rounding them out.
Perhaps he himself doesn’t know it? Many people are under the assumption that a half pixel exists. I’ll shoot him an email or post a question on his blog about it :D. I want to hear his answer. It should be interesting either way.
PS-I can’t seem to find the link to his CSS file now? I just had it and now I can’t find it…
Maybe the dimensions were generated by a program of some sort.
It could also be that it’s making use of Geckos floating integer calculations where it seems to remember and re-distribute fractional measurements across the range rather than on a one to one basis.
If I understand correctly then that’s what’s being said here.
My Spanish has slowly been ebbing away from me, but I’ll give it a try (tho Yuri can prolly do it better lawlz)
Since doing my design of the SigT logo in CSS two years ago, I had the idea to do more complex drawings which could use the Verdana font and absolute positioning in CSS, generating a form of vector image that could be directly embedded in the HTML code.
I opted for Homer Simpson as he is sufficiently popular and recognisable:
[homer pic here]
The result is cross-browser; it’s compatible in the following browsers under Windows:
• Internet Explorer 5.5, 6 and 7
• Opera 9
• Firefox 2
• Safari 3
(I wonder) How does this appear in other OSes and browsers?
(Note: in order to correctly see this, you need to have the Verdana font installed on your machine)
…
I’ve also seen the sub-pixel thing in Javascripts and I always wondered why they did that.