Live
Repo
Digital business card
Today I finished a business card project on Scrimba. A starting point was Per's Harold's business card:
My main goal was to personalize the card.
What I did:
-
I created a more descriptive card structure by using
and -
I created 2 utility classes for margins for my code to be DRYer.
-
I went to coolors.co and checked the color's compatibility and found a better (to my taste) color for a border.
-
I learned about box-shadow on my own and added it to my card.
-
I animated it on hover.
-
I added a gradient to the card and changed it on hover to add up an animation effect.
-
I deployed the card on Netlify.