Card by kamehame-ha
#e8e8e8
1.red { 2 background-color: #f43f5e; 3} 4 5.blue { 6 background-color: #3b82f6; 7} 8 9.green { 10 background-color: #22c55e; 11} 12 13.scroll-snap-card { 14 height: 150px; 15 width: 250px; 16 scroll-snap-type: y mandatory; 17 overflow: auto; 18 border-radius: 10px; 19} 20 21.scroll-snap-card .slide { 22 width: 100%; 23 height: 100%; 24 scroll-snap-align: start; 25 display: flex; 26 align-items: center; 27 justify-content: center; 28} 29 30.scroll-snap-card .slide p { 31 font-size: 1em; 32 color: white; 33 font-weight: 700; 34}
2.3K views
2.3K views
MIT License