Hook

Their other posts in the index, biggest breakout first.
How to make such a beautiful hover effect card? Let's learn it. For this, we will take a div in HTML and give it the class name 'cards'. Inside this, we will take three more divs and inside each of these three divs, we will take a p tag. We will give the class name 'card' to each of these three divs and the class name 'tip' to the p tag. Now in CSS, we will write the basic CSS boilerplate. Then if we check, it will look like this. Now we will set the class name 'cards' to display flex, flex-direction column and gap 15 pixels. Next, we will give a background color to the cards. Then it will look like this. Now for the class name card, we will set display flex, justify-content center, align-items center, flex-direction column, text-align center, height 100 pixels, width 250 pixels, border-radius 10 pixels, color white, cursor pointer and transition 400ms. For the p tag, we will set font-size 1em and font-weight 700. For that, we will add a hover effect to the card class and set transform scale 1.1, 1.1. Before this, we will set transform scale 0.9, 0.9 and filter blur 10 pixels. The meaning of this is when you hover over one card, the other cards get smaller and blurred. Now if we check, we will see that the hover effect is also working properly. Thanks for watching and make sure to subscribe to our YouTube channel.