|
||
|
|
|||||||
| Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis. |
|
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).
|
![]() |
|
|
Thread Tools |
Painting using only XHTML/CSS, no images allowed
![]() What a nice picture, uh? Simple, but nice. Nothing too great. Well, think again. The above image is a screenshot of an XHTML/CSS page that uses no images to display; just divs, spans and a few dots. You can find the entry at my blog (spanish) here: http://metalize.liveonstyle.com/2007...ibujar-en-css/ And here's the actual drawing: http://metalize.liveonstyle.com/wp-c...-painting.html Check out source code. It's not as big as you may think. ![]() Hope you like! EDITWow... an painting... I'm ashamed. The subject was going to be "an image"... then I decided to use "painting"... and forgot to remove the "an"... My english is not as bad, I swear. Jam it back in, in the dark. |
Perhaps I'll do anotherone sometime in the future; but for now I have some other projects and lots of work to do. :P
Glad you liked it! There's nowhere I can't reach. |
Thanks for the comments!
As stated, the round parts you see are jsut stacked enormous periods. The diagonal lines are made by using a technique called "Slant borders". The theory of it is quite simple, but it's better explained through an example: Create a div. Now, set each border property through CSS individually, like this: border-top: 4px solid green; border-bottom: 4px solid red; border-right: 4px solid blue; border-left: 4px solid yellow; Finally, change the width of the borders and you'll see some pretty interesting stuff happening. Now, using transparent borders we can do stuff like mountains. ![]() This thing is sticky, and I don't like it. I don't appreciate it. |
![]() How ya doing, buddy? |