UNPKG

scratchcard-reactjs

Version:

**Interactive scratch card functionality made simple for your app! ✨**

41 lines (36 loc) 864 B
.base, #scratch { height: 200px; width: 200px; position: absolute; text-align: center; cursor: grabbing; border-radius: 1rem; box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px; } .base { background-color: #ffffff; font-family: 'Poppins', sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px; } .base:hover { box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px; } .base h4 { font-size: 19px; font-weight: 500; color: #141414; padding: 1rem; } #scratch { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }