Reactjs - flashcard component - automatically detect containers width/height to provide image class

前端 未结 0 1239
清歌不尽
清歌不尽 2021-01-24 16:23

I am building a "flash card" component that reveals the backplate on hover. The frontplate will hold an image. I am trying to adapt the class on the image to adapt it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题