Created
August 28, 2020 16:20
-
-
Save wpflames/0788cff6b606a93800df77cc5f501df8 to your computer and use it in GitHub Desktop.
Cards Hover Animation with CSS Flexbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Responsive Box Model Using CSS Flexbox</title> | |
<link rel="stylesheet" href="assets/css/style.css"> | |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;800&display=swap" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="card"> | |
<div class="imgBx"> | |
<img src="images/img-01.jpg" alt=""> | |
</div> | |
<div class="content"> | |
<h2>Card One</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> | |
<a href="#">Read More</a> | |
</div> | |
</div> | |
<div class="card"> | |
<div class="imgBx"> | |
<img src="images/img-02.jpg" alt=""> | |
</div> | |
<div class="content"> | |
<h2>Card Two</h2> | |
<p>Lorem ipsum dolor sit amet consectetur adipiscing elit.</p> | |
<a href="#">Read More</a> | |
</div> | |
</div> | |
<div class="card"> | |
<div class="imgBx"> | |
<img src="images/img-03.jpg" alt=""> | |
</div> | |
<div class="content"> | |
<h2>Card Three</h2> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> | |
<a href="#">Read More</a> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment