This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zero to Mastery
committed
Aug 31, 2023
1 parent
174ba73
commit 43e3dcd
Showing
3 changed files
with
171 additions
and
152 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,63 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<link rel="stylesheet" href="style.css"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" | ||
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" | ||
crossorigin="anonymous" | ||
referrerpolicy="no-referrer" | ||
/> | ||
<link rel="stylesheet" href="style.css" /> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<div class="card"> | ||
<div class="poster"> | ||
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTsDMgFpw5pbQOgRB6BHT5oKr5zwF5Iffnhq548ub87DYQ_0nV3" alt="SatyapremKiKatha"> | ||
</div> | ||
<div class="details"> | ||
<h1>Satyaprem Ki Katha</h1> | ||
<h2>2023 • Drama • 2h 24m</h2> | ||
<div class="rating"> | ||
<i class="fa fa-star"></i> | ||
<i class="fa fa-star"></i> | ||
<i class="fa fa-star"></i> | ||
<i class="fa fa-star"></i> | ||
<i class="far fa-star"></i> | ||
<span>4/5</span> | ||
</div> | ||
<p class="description"> | ||
Satyaprem, a middle-class man, falls in love with Katha, a young woman who is overwhelmed by her breakup. | ||
However, when he is asked to marry her, he tries hard to restore her faith in love and prove himself as a worthy person. | ||
</p> | ||
<div class="cast"> | ||
<h3>Cast</h3> | ||
<ul> | ||
<li><img src="https://filmfare.wwmindia.com/content/2023/feb/kartikaaryanchoices21676621962.jpg" alt="kartik"></li> | ||
<li><img src="https://i0.wp.com/urbanasian.com/wp-content/uploads/2022/08/PHOTO-2022-08-24-09-20-56-3.jpg?resize=640%2C960&ssl=1" alt="kiara"></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="card"> | ||
<div class="poster"> | ||
<img | ||
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTsDMgFpw5pbQOgRB6BHT5oKr5zwF5Iffnhq548ub87DYQ_0nV3" | ||
alt="SatyapremKiKatha" | ||
/> | ||
</div> | ||
<div class="details"> | ||
<h1>Satyaprem Ki Katha</h1> | ||
<h2>2023 • Drama • 2h 24m</h2> | ||
<div class="rating"> | ||
<i class="fa fa-star"></i> | ||
<i class="fa fa-star"></i> | ||
<i class="fa fa-star"></i> | ||
<i class="fa fa-star"></i> | ||
<i class="far fa-star"></i> | ||
<span>4/5</span> | ||
</div> | ||
<p class="description"> | ||
Satyaprem, a middle-class man, falls in love with Katha, a young | ||
woman who is overwhelmed by her breakup. However, when he is asked | ||
to marry her, he tries hard to restore her faith in love and prove | ||
himself as a worthy person. | ||
</p> | ||
<div class="cast"> | ||
<h3>Cast</h3> | ||
<ul> | ||
<li> | ||
<img | ||
src="https://filmfare.wwmindia.com/content/2023/feb/kartikaaryanchoices21676621962.jpg" | ||
alt="kartik" | ||
/> | ||
</li> | ||
<li> | ||
<img | ||
src="https://i0.wp.com/urbanasian.com/wp-content/uploads/2022/08/PHOTO-2022-08-24-09-20-56-3.jpg?resize=640%2C960&ssl=1" | ||
alt="kiara" | ||
/> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,155 +1,153 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap'); | ||
|
||
*{ | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Oswald', sans-serif; | ||
} | ||
|
||
body{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
background: rgb(177, 177, 177); | ||
} | ||
|
||
.wrapper{ | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
padding: 20px; | ||
display: flex; | ||
align-content: center; | ||
justify-content: center; | ||
} | ||
|
||
.card{ | ||
position: relative; | ||
width: 400px; | ||
height: 500px; | ||
background: #000; | ||
border-radius: 22px; | ||
overflow: hidden; | ||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8); | ||
} | ||
|
||
.poster{ | ||
position:relative; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.poster::before{ | ||
content: ''; | ||
position: absolute; | ||
bottom: -45%; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
z-index: 1; | ||
transition: .3s; | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Oswald', sans-serif; | ||
} | ||
|
||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
min-height: 100vh; | ||
background: rgb(177, 177, 177); | ||
} | ||
|
||
.wrapper { | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
padding: 20px; | ||
display: flex; | ||
align-content: center; | ||
justify-content: center; | ||
} | ||
|
||
.card { | ||
position: relative; | ||
width: 400px; | ||
height: 500px; | ||
background: #000; | ||
border-radius: 22px; | ||
overflow: hidden; | ||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8); | ||
} | ||
|
||
.poster { | ||
position: relative; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.poster::before { | ||
content: ''; | ||
position: absolute; | ||
bottom: -45%; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
z-index: 1; | ||
transition: 0.3s; | ||
} | ||
|
||
.card:hover .poster::before { | ||
bottom: 0; | ||
bottom: 0; | ||
} | ||
|
||
.poster img{ | ||
position: absolute; | ||
top: 9; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
transition: .3s; | ||
.poster img { | ||
position: absolute; | ||
top: 9; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
transition: 0.3s; | ||
} | ||
|
||
.card:hover .poster img{ | ||
transform: scale(1.1); | ||
.card:hover .poster img { | ||
transform: scale(1.1); | ||
} | ||
|
||
.details{ | ||
position: absolute; | ||
bottom: -100%; | ||
left: 0; | ||
width: 100%; | ||
height: auto; | ||
padding: 24px 24px 32px; | ||
background: rgba(112, 112, 112, 0.667); | ||
transition: 0.3s; | ||
z-index: 2; | ||
color: #fff; | ||
border-radius: 22px; | ||
.details { | ||
position: absolute; | ||
bottom: -100%; | ||
left: 0; | ||
width: 100%; | ||
height: auto; | ||
padding: 24px 24px 32px; | ||
background: rgba(112, 112, 112, 0.667); | ||
transition: 0.3s; | ||
z-index: 2; | ||
color: #fff; | ||
border-radius: 22px; | ||
} | ||
|
||
.card:hover .details{ | ||
bottom: 0; | ||
.card:hover .details { | ||
bottom: 0; | ||
} | ||
|
||
.details h1{ | ||
font-size: 24px; | ||
margin-bottom: 5px; | ||
font-weight: 600; | ||
.details h1 { | ||
font-size: 24px; | ||
margin-bottom: 5px; | ||
font-weight: 600; | ||
} | ||
|
||
.details h2{ | ||
font-weight: 400; | ||
font-size: 16px; | ||
margin-bottom: 10px; | ||
opacity: .8; | ||
.details h2 { | ||
font-weight: 400; | ||
font-size: 16px; | ||
margin-bottom: 10px; | ||
opacity: 0.8; | ||
} | ||
|
||
.details .rating{ | ||
position: relative; | ||
margin-bottom: 15px; | ||
display: flex; | ||
gap: 4px; | ||
.details .rating { | ||
position: relative; | ||
margin-bottom: 15px; | ||
display: flex; | ||
gap: 4px; | ||
} | ||
|
||
.rating i{ | ||
color: gold; | ||
.rating i { | ||
color: gold; | ||
} | ||
|
||
.rating span { | ||
margin-left: 0.25em; | ||
margin-left: 0.25em; | ||
} | ||
|
||
.description { | ||
color: #fff; | ||
opacity: .8; | ||
line-height: 1.5; | ||
margin-bottom: 1em; | ||
color: #fff; | ||
opacity: 0.8; | ||
line-height: 1.5; | ||
margin-bottom: 1em; | ||
} | ||
|
||
.cast h3 { | ||
margin-bottom: .5em; | ||
margin-bottom: 0.5em; | ||
} | ||
|
||
.cast ul { | ||
position: relative; | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 0.625rem; | ||
width: 100%; | ||
position: relative; | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 0.625rem; | ||
width: 100%; | ||
} | ||
|
||
.details .cast ul li { | ||
list-style: none; | ||
width: 55px; | ||
height: 55px; | ||
border-radius: 50%; | ||
overflow: hidden; | ||
border: 1.5px solid #fff; | ||
list-style: none; | ||
width: 55px; | ||
height: 55px; | ||
border-radius: 50%; | ||
overflow: hidden; | ||
border: 1.5px solid #fff; | ||
} | ||
|
||
.details .cast ul li img { | ||
width: 100%; | ||
height: 100%; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
|
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