Card by kennyotsu
This card was created for One <div> challenge
#212121
7.3K views
Perfect!!! I saw wonderful original design.
man how did you do the thing at the end? like when I pressed them, they became the same size and moved. it was amazing. does it use active pseudo class?
@Uncannypotato69 Exactly! It's really just the initial style and a bunch of :hover and :active styles that change only some values, such as card's height. Define states of your style and add transitions, and the browser will automagically animate everything in between :D
woa
MIT License