Day # 43: Card drawer
Lately, I have been working quite often on cards because I’ve found them very inspiring. Whenever I’m working on one of them I think of new ideas to provide them with ingenious details.
I thought of adding a button at the bottom end of the card, in case the visitor wants to click on it to expand the rest of the information. The key here is to toggle classes for when that button is active and inactive.
Just by changing the height of that div we’re able to hide or display the rest of the information of the card.
Tiny details like this one are fundamental to freshen up our designs and make our websites alluring for anyone to come and visit!
Comments
Post a Comment