Responsive Single Price Grid Component with hover effect using CSS

Solution retrospective
Would be happy to hear your feedback on this solution.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @iwannabaa
I would use
transform: scale()
instead of changing the padding in the button on hover. Same spirit as the comment above. - @iwannabaa
One more thing: If you specify the attributes to transform in the
.call-to-action a
rule, it won't have that small weird effect at the beginning. You can use something liketransition: transform 300ms ease, box-shadow 300ms ease;
- P@palgramming
I would set your button size with a height and width so when you hover it and it enlarges then it does not effect the other content on the right side and the whole layout
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord