1614711120
In this video, you are going to learn how to design Responsive Image Cards with a hover effect (Image Hover Effect) only using CSS and HTML. When you hover the image all the information (title, description, read more, icon links) will appear on the image. This Image cards based on rows. Each row contains three image cards. This image layout is fully responsive. Let’s see how t design these Responsive Image Cards.
Subscribe: https://www.youtube.com/channel/UCNDmzGYwwT3rdY3xQuW8QOA
index.html
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Image Cards With Hover Effect</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css">
</head>
<body>
<!--image card layout start-->
<div class="container">
<!--image row start-->
<div class="row">
<!--image card start-->
<div class="image">
<img src="1.jpg" alt="">
<div class="details">
<h2>Your <span>Title</span></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<div class="more">
<a href="#" class="read-more">Read <span>More</span></a>
<div class="icon-links">
<a href="#"><i class="fas fa-heart"></i></a>
<a href="#"><i class="fas fa-eye"></i></a>
<a href="#"><i class="fas fa-paperclip"></i></a>
</div>
</div>
</div>
</div>
<!--image card end-->
<!--image card start-->
<div class="image">
<img src="2.jpg" alt="">
<div class="details">
<h2>Your <span>Title</span></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<div class="more">
<a href="#" class="read-more">Read <span>More</span></a>
<div class="icon-links">
<a href="#"><i class="fas fa-heart"></i></a>
<a href="#"><i class="fas fa-eye"></i></a>
<a href="#"><i class="fas fa-paperclip"></i></a>
</div>
</div>
</div>
</div>
<!--image card end-->
<!--image card start-->
<div class="image">
<img src="3.jpg" alt="">
<div class="details">
<h2>Your <span>Title</span></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<div class="more">
<a href="#" class="read-more">Read <span>More</span></a>
<div class="icon-links">
<a href="#"><i class="fas fa-heart"></i></a>
<a href="#"><i class="fas fa-eye"></i></a>
<a href="#"><i class="fas fa-paperclip"></i></a>
</div>
</div>
</div>
</div>
<!--image card end-->
</div>
<!--image row end-->
<!--image row start-->
<div class="row">
<!--image card start-->
<div class="image">
<img src="4.jpg" alt="">
<div class="details">
<h2>Your <span>Title</span></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<div class="more">
<a href="#" class="read-more">Read <span>More</span></a>
<div class="icon-links">
<a href="#"><i class="fas fa-heart"></i></a>
<a href="#"><i class="fas fa-eye"></i></a>
<a href="#"><i class="fas fa-paperclip"></i></a>
</div>
</div>
</div>
</div>
<!--image card end-->
<!--image card start-->
<div class="image">
<img src="5.jpg" alt="">
<div class="details">
<h2>Your <span>Title</span></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<div class="more">
<a href="#" class="read-more">Read <span>More</span></a>
<div class="icon-links">
<a href="#"><i class="fas fa-heart"></i></a>
<a href="#"><i class="fas fa-eye"></i></a>
<a href="#"><i class="fas fa-paperclip"></i></a>
</div>
</div>
</div>
</div>
<!--image card end-->
<!--image card start-->
<div class="image">
<img src="6.jpg" alt="">
<div class="details">
<h2>Your <span>Title</span></h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<div class="more">
<a href="#" class="read-more">Read <span>More</span></a>
<div class="icon-links">
<a href="#"><i class="fas fa-heart"></i></a>
<a href="#"><i class="fas fa-eye"></i></a>
<a href="#"><i class="fas fa-paperclip"></i></a>
</div>
</div>
</div>
</div>
<!--image card end-->
</div>
<!--image row end-->
</div>
<!--image card layout end-->
</body>
</html>
style.css
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
height: 100vh;
font-family: "Raleway", sans-serif;
background: #2F3238;
}
.container{
margin: 30px;
}
.row{
width: 100%;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.image{
background: #50A7FF;
position: relative;
flex: 1;
max-width: 460px;
height: 300px;
margin: 20px;
overflow: hidden;
}
.image img{
opacity: 0.8;
position: relative;
vertical-align: top;
transition: 0.6s;
transition-property: opacity;
}
.image:hover img{
opacity: 1;
}
.image .details{
z-index: 1;
position: absolute;
top: 0;
right: 0;
color: #fff;
width: 100%;
height: 100%;
}
.image .details h2{
text-align: center;
font-size: 35px;
text-transform: uppercase;
font-weight: 300;
margin-top: 70px;
transition: 0.4s;
transition-property: transform;
}
.image .details h2 span{
font-weight: 900;
}
.image:hover .details h2{
transform: translateY(-30px);
}
.image .details p{
margin: 30px 30px 0 30px;
font-size: 18px;
font-weight: 600;
text-align: center;
opacity: 0;
transition: 0.6s;
transition-property: opacity, transform;
}
.image:hover .details p{
opacity: 1;
transform: translateY(-40px);
}
.more{
position: absolute;
background: rgba(255, 255, 255, 0.8);
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px;
bottom: -60px;
transition: 0.6s;
transition-property: bottom;
}
.image:hover .more{
bottom: 0;
}
.more .read-more{
color: #000;
text-decoration: none;
font-size: 20px;
font-weight: 500;
text-transform: uppercase;
}
.more .read-more span{
font-weight: 900;
}
.more .icon-links i{
color: #000;
font-size: 20px;
}
.more .icon-links a:not(:last-child) i{
margin-right: 20px;
}
/* Responsive CSS */
@media (max-width: 1080px){
.image{
flex: 100%;
max-width: 480px;
}
}
@media (max-width: 400px){
.image .details p{
font-size: 16px;
}
.more .read-more, .more .icon-links a i{
font-size: 18px;
}
}
#html #css
1621077133
Hello Readers, welcome to my other blog, today in this blog I’m going to create a Responsive Footer by using HTML & CSS only. Earlier I have shared How to create a Responsive Navigation Menu and now it’s time to create a footer section.
As you can see on the image which is given on the webpage. There are various important topics there like About us, Our services and subscribes, some social media icons, and a contact section for easy connection. I want to tell you that it is fully responsive. Responsive means this program is fit in all screen devices like tablet, small screen laptop, or mobile devices.
#responsive footer html css template #footer design in html #simple footer html css code #simple responsive footer codepen #responsive footer code in html and css #responsive footer html css codepen
1618667723
how to create a Sidebar Menu using HTML and CSS only. Previously I have shared a Responsive Navigation Menu Bar using HTML & CSS only, now it’s time to create a Side Navigation Menu Bar that slides from the left or right side.
#sidebar menu using html css #side navigation menu html css #css side navigation menu bar #,pure css sidebar menu #side menu bar html css #side menu bar using html css
1608041337
#responsive website using html5 and css3 #portfolio website #one page personal website html css #portfolio website design in html css #css responsive website design #responsive website html css
1608043308
#responsive website using html5 and css3 #responsive website html css #portfolio website #portfolio website design in html css #complete responsive website in html css javascript #one page personal website
1618667097
Tutorial: https://youtu.be/9DDiorNZiyw
#create a portfolio website with html css javascript #personal portfolio complete website using only html css javascript #responsive portfolio website html css javascript #responsive personal portfolio website #portfolio website #responsive website