This is a solution to the NFT preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Solution URL: Frontend Mentor
- Live Site URL: Github Pages
- Semantic HTML5 markup
- SCSS custom properties
- Flexbox
- JS animate method
- Cursor follower
- Desktop-first workflow
- SCSS - CSS Preprocessor
I've had some/many problems with making the events on image click but in the end, I guess I managed. I also wanted to have a try with mouse follower for the first time as it seemed to me that the vibe od the website suits it.
enlarged.animate([
{
transform: 'translateY(-150px)',
opacity: 0
},
{
transform: 'translateY(0)',
opacity: 1
}
], animateParams)
- Github - Łukasz Lubaszewski
- Frontend Mentor - @luckyszakul0
Hyperplexed's blob cursor follower - An awesome cursor follower from Hyperplexed. I VERY HEAVILY inspired mine from his.