+ 1

CSS harder than it looks.

I triode to challenge myself and looked up a pic on google; and tried to code it. But after I started it it was complex. I'm sure there's probably way easier way to do code the image. But I struggled and this is what I have so far. https://code.sololearn.com/WsapDoS4SHrU/?ref=app Let me know if there's easy way out to this code.

28th May 2019, 1:03 AM
Ginfio
Ginfio - avatar
4 Respuestas
0
You want to do that completely in css? It seems a difficult (if not imposible) challenge. It may be done with SVG tags in HTML or a Canvas in JavaScript, but in CSS it will be very hard to do
28th May 2019, 1:25 AM
Andres0b0100
Andres0b0100 - avatar
+ 2
nothing here is easy. you are on the right track though. the whole nature of code is that you will fail..and fail a lot. but you press on..find what you are doing weong..fix it..and learn better from it. this cycle WILL NEVER END in coding..EVER. you simply cannot know everything all at once. look how many bugs and glitches exist in programs and games. be strong..be patient..and forever be learning
28th May 2019, 5:58 AM
Jason Kennedy
28th May 2019, 4:06 AM
Calviղ
Calviղ - avatar
0
Calvin , yeah it looks good. the picture looks like 4 different classes or elements: center and the other 3 around it. And it looks like you could just make center and make the outer three based on the center's size. The. rotate them in tbe positopn they need to be. _ _ _
28th May 2019, 5:10 AM
Ginfio
Ginfio - avatar