Chalarangelo / 30-seconds-of-react

Short React code snippets for all your development needs
https://www.30secondsofcode.org/react/p/1
Creative Commons Attribution 4.0 International
5.08k stars 485 forks source link

add RotatingCard component #101

Closed Taimoor0217 closed 4 years ago

Taimoor0217 commented 4 years ago

Is this a new component ? Yes

Which tags are being used? Since this is a dumb component, I have only used the dumb tag along with components tag

The component This component is a two sided card which flips/rotates on hover and switches sides. Uses the BEM model as css naming convention and camel casing for naming react component.

Code Pen You can find a working codepen example in the following link

https://codepen.io/taimoor0217-the-styleful/pen/oNxKdVb

Taimoor0217 commented 4 years ago

@Chalarangelo thankyou for the review. I will do that.

Chalarangelo commented 4 years ago

@Taimoor0217 Perfect, I'll close this PR then and review the one in the CSS repo.