Please subscribe our channel and support me.
Please like and 1 comment this video.
If you are visiting my channel for the first time then please subscribe
Go to my Youtube channel : https://www.youtube.com
Html Code
<div class="contenar">
<h1 class="title">Cute Animals</h1>
<div class="group">
<div class="card">
<img src="/images/card-image-4.jpg" alt="" class="image">
<div class="intro">
<h2>Amimals</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nam consequatur laborum delectus aperiam pariatur.</p>
</div>
</div>
<div class="card">
<img src="/images/card-image-2.jpg" alt="" class="image">
<div class="intro">
<h2>Cheetahs</h2>
<p>Female Cheetahs more often than not give birth to three cubs. They will then spend anything
from one and a half to two years protecting them, ensuring that they can grow enough to fend
for themselves. </p>
</div>
</div>
<div class="card">
<img src="/images/card-image-3.jpg" alt="" class="image">
<div class="intro">
<h2>Cute Panda</h2>
<p>Awww. We love, love, love animals! Especially the cute ones, and there are some super
adorable ones out there that are hard to resist. But sometimes resistance is a must.</p>
</div>
</div>
</div>
</div>
Css Code
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: roboto;
background-color: #fff;
}
.contenar {
margin-top: 5%;
}
.title {
text-align: center;
display: block;
align-items: center;
margin-bottom: 60px;
padding-bottom: 15px;
}
.group {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.card {
position: relative;
display: block;
background: #0005;
margin: 30px;
width: 250px;
height: 300px;
overflow: hidden;
border-radius: 5px;
cursor: pointer;
}
.card .image {
height: 100%;
width: 100%;
}
.card .intro {
width: 100%;
height: 50px;
background-color: #0009;
position: absolute;
bottom: 0;
padding: 10px;
color: #fff;
line-height: 1.4;
transition: all 0.5s ease-in-out;
}
.card:hover {
box-shadow: 0 0 0 #0005;
}
.card:hover .intro {
background: #000d;
height: 110px;
}
.card h2 {
margin: 0;
}
.card p {
margin: 5px 0;
font-size: 12px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
blogger theme design : https://youtu.be/DAIJTjRzxLk
Login Form : https://youtu.be/HWbAr1XN3Lc
Forms design : https://youtu.be/M2ERkDXjEuw
Responsive CSS card : https://youtu.be/Ol9_5cYtAaw
Navigation design : https://youtu.be/LNEgZBdWPGM
Disclaimer video is for educational purpose only. Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use .
Thanks..
Copyright © 2021-2023 | WsCoder | All Right Reserved