Commit c76bd918 by Madhankumar

float initial commit changes

parent 9df1b244
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link
</head> href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap"
<body> rel="stylesheet"
<section class="cont"> />
<div class="card cardbg1"> </head>
<div class="card-desc"> <body>
<div class="card-text"> <div class="logo">
<img src="https://krds-assignment.github.io/aoc/api-assets/logo-f-secure.png"> <img
<p class="title">Astonishing features requires worry-free security</p> src="https://krds-assignment.github.io/aoc/api-assets/logo-aoc.png"
<hr> />
<p>1 Year Free Mobile Security</p> </div>
</div> <section class="container">
<div class="card-image"> <div class="card cardbg1">
<img src="https://krds-assignment.github.io/aoc/api-assets/image-1.png"> <div class="card-body">
</div> <div class="card-text">
</div> <img
</div> src="https://krds-assignment.github.io/aoc/api-assets/logo-f-secure.png"
<div class="card cardbg2"> />
<div class="card-desc"> <p class="title">
<div class="card-text"> Astonishing features requires worry-free security
<img src="https://krds-assignment.github.io/aoc/api-assets/logo-digitainment.png"> </p>
<p class="title">Be hooked!</p> <hr />
<hr> <p class="sub-title">1 YEAR FREE MOBILE SECURITY</p>
<p>2000+ Movies from Bollywood</p> </div>
</div> <div class="card-image">
<div class="card-image"> <img
<img src="https://krds-assignment.github.io/aoc/api-assets/image-2.png"> src="https://krds-assignment.github.io/aoc/api-assets/image-1.png"
</div> />
</div> </div>
</div>
<div class="card cardbg3">
<div class="card-desc">
<div class="card-text">
<img src="https://krds-assignment.github.io/aoc/api-assets/logo-adaptxt.png">
<p class="title">The best things in life are free</p>
<hr>
<p>Free Mobile Pouch</p>
</div> </div>
<div class="card-image"> </div>
<img src="https://krds-assignment.github.io/aoc/api-assets/image-3.png"> <div class="card cardbg2">
<div class="card-body">
<div class="card-text">
<img
src="https://krds-assignment.github.io/aoc/api-assets/logo-digitainment.png"
/>
<p class="title">Be hooked!</p>
<hr />
<p class="sub-title">2000+ MOVIES FROM BOLLYWOOD</p>
</div>
<div class="card-image">
<img
src="https://krds-assignment.github.io/aoc/api-assets/image-2.png"
/>
</div>
</div> </div>
</div>
<div class="card cardbg3">
<div class="card-body">
<div class="card-text">
<img
src="https://krds-assignment.github.io/aoc/api-assets/logo-adaptxt.png"
/>
<p class="title">The best things in life are free</p>
<hr />
<p class="sub-title">FREE MOBILE POUCH</p>
</div>
<div class="card-image">
<img
src="https://krds-assignment.github.io/aoc/api-assets/image-3.png"
/>
</div>
</div> </div>
</div> </div>
<div class="card cardbg4"> <div class="card cardbg4">
<div class="card-desc"> <div class="card-body">
<div class="card-text"> <div class="card-text">
<img src="https://krds-assignment.github.io/aoc/api-assets/logo-hungama.png"> <img
<p class="title">The thump never ends here</p> src="https://krds-assignment.github.io/aoc/api-assets/logo-hungama.png"
<hr> />
<p>1000’s of songs</p> <p class="title">The thump never ends here</p>
<hr />
<p class="sub-title">1000’s OF SONGS</p>
</div>
<div class="card-image">
<img
src="https://krds-assignment.github.io/aoc/api-assets/image-4.png"
/>
</div>
</div> </div>
<div class="card-image"> </div>
<img src="https://krds-assignment.github.io/aoc/api-assets/image-4.png"> <div class="card cardbg5">
<div class="card-body">
<div class="card-text">
<img
src="https://krds-assignment.github.io/aoc/api-assets/logo-adaptxt.png"
/>
<p class="title">Being globally you</p>
<hr />
<p class="sub-title">21 INDIAN & FOREIGN LANGUAGES</p>
</div>
<div class="card-image">
<img
src="https://krds-assignment.github.io/aoc/api-assets/image-5.png"
/>
</div>
</div> </div>
</div>
<div class="card cardbg6">
<div class="card-body">
<div class="card-text">
<img
src="https://krds-assignment.github.io/aoc/api-assets/logo-read-where.png"
/>
<p class="title">For the wise</p>
<hr />
<p class="sub-title">1000 PTS DISCOUNT ON SUBSCRIPTION</p>
</div>
<div class="card-image">
<img
src="https://krds-assignment.github.io/aoc/api-assets/image-6.png"
/>
</div>
</div> </div>
</div> </div>
<div class="card cardbg5"> </section>
<div class="card-desc"> </body>
<div class="card-text"> </html>
<img src="https://krds-assignment.github.io/aoc/api-assets/logo-adaptxt.png">
<p class="title">Being globally you</p>
<hr>
<p>21 Indian & Foreign Languages</p>
</div>
<div class="card-image">
<img src="https://krds-assignment.github.io/aoc/api-assets/image-5.png">
</div>
</div>
</div>
<div class="card cardbg6">
<div class="card-desc">
<div class="card-text">
<img src="https://krds-assignment.github.io/aoc/api-assets/logo-read-where.png">
<p class="title">For the wise</p>
<hr>
<p>1000 pts Discount on Subscription</p>
</div>
<div class="card-image">
<img src="https://krds-assignment.github.io/aoc/api-assets/image-6.png">
</div>
</div>
</div>
</section>
</body>
</html>
\ No newline at end of file
*{ * {
margin:0; margin: 0;
padding:0; padding: 0;
box-sizing: border-box;
} }
.card{ body {
float:left; font-family: "Poppins", sans-serif;
width:33.333%; }
height:50vh .container {
} min-height: 100vh;
.cont:after{ max-width: 1920px;
content: ""; margin: 0 auto;
clear: both; }
display: table; .container:after {
} content: "";
.card-text,.card-image{ clear: both;
float: left; display: table;
width:50%; }
.card {
} min-height: 50vh;
width: 33.333%;
}
.card p{
color:white .card-text {
} font-size: 18px;
.card .card-text img{ }
height:50px; .sub-title {
object-fit: contain; font-size: 15px;
aspect-ratio: 3/2; }
}
.card-image img {
.card .card-image img{ max-width: 100%;
max-width:100%; height: auto;
height: 300px; float: right;
object-fit:contain; }
}
.card-text{ .logo img {
font-size: 18px; height: 25px;
} max-width: 100%;
object-fit: contain;
.cardbg1{ }
background:#41ca6e;
} .logo {
.cardbg2{ position: absolute;
background:#fab153 top: 17px;
} left: 18px;
.cardbg3{ }
background:#7277d5; .card-image {
} width: 50%;
.cardbg4{ }
background:#f87d51; .card p {
} color: white;
.cardbg5{ }
background:#ed5466; .cardbg1 {
} background: #41ca6e;
.cardbg6{ }
background:#4ec2e7; .cardbg2 {
} background: #fab153;
}
\ No newline at end of file .cardbg3 {
background: #7277d5;
}
.cardbg4 {
background: #f87d51;
}
.cardbg5 {
background: #ed5466;
}
.cardbg6 {
background: #4ec2e7;
}
hr {
height: 2px;
width: 75%;
background-color: white;
border: none;
margin: 10px 10px 10px 0px;
}
@media only screen and (max-width: 768px) {
.card {
width: 100%;
min-height: calc(100vh - 67px);
}
.card-body {
padding: 100px 0px;
max-width: 70vw;
width: 100%;
margin: 0 auto;
}
.logo {
position: relative;
background: white;
left: 0;
top: 0;
}
.logo img {
max-width: 100%;
height: 30px;
margin: 10px;
margin-left: 10px;
mix-blend-mode: exclusion;
background: black;
}
.card-text {
font-size: 34px;
font-family: "Poppins";
}
.sub-title {
font-size: 25px;
}
.card-text .title {
font-weight: bold;
}
.card-text > p:first-of-type {
width: 100%;
text-transform: uppercase;
}
.card-image {
display: flex;
justify-content: center;
margin: 67px 0px 0px 0px;
width: 100%;
}
}
@media only screen and (min-width: 769px) {
.card {
width: 50%;
float: left;
}
.card-body {
display: flex;
align-items: center;
height: 50vh;
}
.title,
.sub-title {
font-size: 14px;
}
.card-image img {
max-height: 50vh;
padding: 20px;
}
.card-text {
padding-left: 30px;
width: 50%;
}
.container > div:nth-child(6) > .card-body .card-image img {
max-width: 100%;
padding: 10px;
}
.container > div:nth-child(1) > .card-body .card-image img {
max-height: 40vh;
}
.card-text img {
height: 50px;
object-fit: contain;
aspect-ratio: 3/2;
}
}
@media only screen and (min-width: 1024px) {
.card {
min-height: 50vh;
width: 33.333%;
}
.card-body {
height: 50vh;
}
.title,
.sub-title {
font-size: 14px;
}
.card-image img {
padding: 24px;
}
.card-text {
padding-left: 35px;
}
}
@media only screen and (min-width: 1440px) {
.title,
.sub-title {
font-size: 14px;
}
.card-text {
padding-left: 70px;
}
}
@media only screen and (min-width: 1554px) {
.card-text {
padding-left: 70px;
}
.title,
.sub-title {
font-size: 18px;
}
.logo {
top: 24px;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment