HTMLify
imagecard.html
Views: 630 | Author: tanishkak
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>IMAGE CARDS TRANSITION</title> <style> body{ padding:8% 0% 0% 2%; background-color: darkslategrey; text-shadow: 5px 5px 5px rgb(94, 43, 43); } h1{ color: white; text-align: center; font-size: 50px; } .cards{ width: 30%; height: 350px; display: flex; gap: 5px; } .cards img{ width:10%; height:100%; object-fit:cover; border-radius: 10px; border: 2px solid white; transition: all ease 0.5s; cursor: pointer; } .cards img:hover{ width:100%; box-shadow: 5px 5px 5px white; } </style> </head> <body> <h1><u>SHINCHAN CARDS TRANSITION</u></h1> <div class="cards"> <img src="shin1.jpg" alt="image"> <img src="shin2.jpg" alt="image"> <img src="shin3.jpg" alt="image"> <img src="shin4.jpg" alt="image"> <img src="shin5.jpg" alt="image"> </div> </body> </html> |