CSS Battle Leafy Trail
Hey all! I was trying to solve the Leafy Trail challenge in CSS Battle. I was wondering if we could solve it using only one div and a linear gradient. I'm having a little trouble figuring out how to set the angles in the linear gradient (or if it is even possible). Here's my code:
10 Replies
You would probably need to look at radial-gradient but without spending time playing with it I don’t know if it would be possible.
I just used box-shadow for that one (#7 if anyone is searching for it) as it seemed like the simplest solution.
I was thinking about radial too. I'll play around and see. Can you please post your box-shadow solution too?
Hi @Chris , could you please help me out with another thing?
I can try….
Can you tell me why am I getting this faint line?
I’ll take a look later It might be worth you joining the cssbattle discord. Some of these things are just quirks of the platform and more often than not don’t affect the result (in terms of the battle)
Yeah I got a 100% match but still kinda bugs me
Thank you!