Practicing box-shadow

Hello all. I wanted to play around with some shadow effects and animations. Here’s what I have so far. It’s nothing over the top but provided more than enough opportunity to get some familiarization with multiple attributes and practicing getting the right amount of shadow to make the craters look like craters.

I’m thinking about making it rotate eventually but that may be for another time.

Feedback welcome.

2 Likes

That looks really good. It looks like you spent a lot of time on it.

1 Like

Hey there,

great work!

My ideas:

  • literally 20% of your CSS code goes into vendor prefixes; I think you could use a tool like autoprefixer
  • you could use some variables for the colors, so it would be easier to change colors later

@miku86 I am going to look into that stuff. I see it all the time in others peoples css but haven’t taken the time to learn how it works yet. The color variables would have been helpful.

Thank you!

1 Like