Day156 — CSS card flip
Here records the thing I learned when I did a card flip in my project.
vanilla CSS
Tailwind CSS
The main
Add custom plugin
Problem encountered
The absolute layout is one pixel off from the relative layout because the column is calculated dynamically.
I have to set inset
to -1 px to cover it up. It is less noticeable.