Drawing with CSS
Page 1 of 1
dingo_d
VIP Member



Posts: 14555

PostPosted: Thu, 5th Jun 2014 16:20    Post subject: Drawing with CSS
I'm looking at a 'test' assignment for one job, don't know if I'll apply or not, never mind that.

The assignment says: recreate this using only css and this line of html

http://s29.postimg.org/f5ie7pjvb/zadatak.png

Now, what I've done is this http://jsfiddle.net/xfDA4/

Which is exactly that, but I'm kinda confused. Do I need to do the image without adding classes, all in class zadatak? :S

EDIT: Do I need to use ::before and ::after?

EDIT: Why is :after not working? :\

http://jsfiddle.net/xfDA4/1/

EDIT: Figured it out! Needed to add content:""; Very Happy

http://jsfiddle.net/jB4PH/


"Quantum mechanics is actually, contrary to it's reputation, unbeliveably simple, once you take the physics out."
Scott Aaronson
chiv wrote:
thats true you know. newton didnt discover gravity. the apple told him about it, and then he killed it. the core was never found.

Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Thu, 5th Jun 2014 17:52    Post subject:
Well done, was about to post that, but you already solved it yourself:)


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group