<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Day-3 Flip Card | Tutor Joes</title> <link rel="stylesheet" href="css/style.css"> </head> <body> <div class="box"> <div class="pic"></div> <div class="content"> <div class="title">Strawberry Roll</div> <div class="para">This strawberry roll cake is a classic, particularly Asian countries like Japan and South Korea! A light and tender sponge cake filled with fresh fruit is loved in most East Asian countries due to its balanced flavour profile, and this is just another variation.<a href="#" class="readmore">Read More</a></div> </div> </div> </body> </html>
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@400;600&display=swap'); *{ padding:0; margin: 0; box-sizing: border-box; } body{ font-family: 'Poppins', sans-serif; width: 100%; height: 100vh; background-color: #6B6B6B; display: flex; justify-content: center; align-items: center; } .box{ width: 600px; height: 400px; background:#3c6382; box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; position: relative; z-index: 0; } .pic{ width: 100%; height: 100%; background-image: url('../images/strawberry.jpg'); background-size: cover; transition: all 0.5s linear; position: absolute; z-index: 2; } .box:hover .pic{ width: 50%; cursor: pointer; } .content{ position: absolute; top: 0; right:0; width: 50%; height: 100%; z-index: 1; padding: 10px; } .title{ font-weight: 600; font-size: 20px; color:#b8e994; margin: 10px 0px; text-transform: uppercase; letter-spacing: 1px; text-decoration: underline; text-underline-offset:5px; text-decoration-color: #FFDEBC; } .para{ font-size: 16px; line-height: 30px; font-weight: 400; color:white; } .readmore{ text-decoration: none; color:#b8e994; display: block; }
Learn All in Tamil © Designed & Developed By Tutor Joes | Privacy Policy | Terms & Conditions