Card by kennyotsu

This card was created for One <div> challenge
#212121
 
6.9K views

Comments

4

Log in to add comments

0/256

4
3
2

Perfect!!! I saw wonderful original design.

3
2
1

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?

4
3
2

@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

6
5
4
fuzzbuck
21. November 2023. at 23:24

woa

No variations yet
MIT License