@correlucas
Posted
πΎHello Elaine, congratulations for your new PIXEL PERFECT solution!
Every time you post something I feel bad because I never reach a pixel perfect
solution!
This is something really beautiful to see when scroll the slider and see the two images matching!
Everything is so responsive and nice to see when you scale down the window, how the text scales and the cards change the layout that I've nothing to say. Its already done I guess. Congrats! π€
π Happy coding!
@elaineleung
Posted
@correlucas Thanks Lucas! Well, it's almost matching, I missed changing the padding π but yes, thank you for the compliments as always and for checking out my work! π
I think your work has its own style, so I don't think being pixel perfect matters as much, but it's getting pretty close to pixel perfect too!
@correlucas
Posted
@elaineleung I saw that your box-shadow
is slight different from the challenge design, one is black the other is kinda purple (its really hard without the Figma file). In this case you can use Figma to create the shadow design inside a rectangle just to see how it looks and then drop the shadow css code into your component. I did this purple shadow for you box-shadow: 5px 5px 15px 5px rgb(86 75 229 / 13%);
see if you like it. I'm a box-shadow enthusiast as you can see hahaha
Keep it up.
Marked as helpful
@elaineleung
Posted
@correlucas Yes, I saw it after I uploaded my solution! Thanks for catching that, and I can tell you're a box-shadow enthusiast (I actually thought of you when I was doing the box shadow π)
What happened was, the style guide didn't list out the purples as one of the colors; it had only neutrals and also a gradient color which included two purples, and so at first I just used the neutral colors on the list. It was only later that I made the gradient colors part of my variables, but I forgot to change the box shadow, so I'll do that later when I make my updates.