Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
madhan-task
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Madhankumar
madhan-task
Commits
567faf79
Commit
567faf79
authored
Aug 23, 2023
by
Madhankumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flex updated code
parent
4998c46e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
317 additions
and
211 deletions
+317
-211
index.html
index.html
+114
-87
style.css
style.css
+203
-124
No files found.
index.html
View file @
567faf79
<!DOCTYPE html>
<html>
<head>
<link
rel=
"stylesheet"
href=
"style.css"
/>
<head>
<link
rel=
"stylesheet"
href=
"style.css"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<link
href=
"https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap"
rel=
"stylesheet"
>
</head>
<body
>
<section
class=
"cont"
>
<div
class=
"card cardbg1"
>
<link
href=
"https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap"
rel=
"stylesheet"
/
>
</head
>
<body
>
<div
class=
"logo"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/logo-aoc.png"
>
</div>
<div
class=
"card-desc"
>
<div
class=
"card-text"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/logo-f-secure.png"
>
<p
class=
"title"
>
Astonishing features requires worry-free security
</p>
<hr>
<p
class=
"sub-text"
>
1 YEAR FREE MOBILE SECURITY
</p>
</div>
<div
class=
"card-image"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/image-1.png"
height=
"300px"
>
</div>
</div>
</div>
<div
class=
"card cardbg2"
>
<div
class=
"card-desc"
>
<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-text"
>
2000+ MOVIES FROM BOLLYWOOD
</p>
</div>
<div
class=
"card-image"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/image-2.png"
height=
"370px"
>
</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
class=
"sub-text"
>
FREE MOBILE POUCH
</p>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/logo-aoc.png"
/>
</div>
<section
class=
"container"
>
<div
class=
"card cardbg1"
>
<div
class=
"card-body"
>
<div
class=
"card-text"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/logo-f-secure.png"
/>
<p
class=
"title"
>
Astonishing features requires worry-free security
</p>
<hr
/>
<p
class=
"sub-title"
>
1 YEAR FREE MOBILE SECURITY
</p>
</div>
<div
class=
"card-image"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/image-1.png"
/>
</div>
</div>
<div
class=
"card-image"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/image-3.png"
height=
"350px"
>
</div>
<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
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
class=
"card cardbg4"
>
<div
class=
"card-desc"
>
<div
class=
"card-text"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/logo-hungama.png"
>
<p
class=
"title"
>
The thump never ends here
</p>
<hr>
<p
class=
"sub-text"
>
1000’s OF SONGS
</p>
</div>
<div
class=
"card cardbg4"
>
<div
class=
"card-body"
>
<div
class=
"card-text"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/logo-hungama.png"
/>
<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
class=
"card-image"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/image-4.png"
height=
"330px"
>
</div>
<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
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
class=
"card cardbg5"
>
<div
class=
"card-desc"
>
<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-text"
>
21 INDIAN
&
FOREIGN LANGUAGES
</p>
</div>
<div
class=
"card-image"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/image-5.png"
height=
"360px"
>
</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
class=
"sub-text"
>
1000 PTS DISCOUNT ON SUBSCRIPTION
</p>
</div>
<div
class=
"card-image"
>
<img
src=
"https://krds-assignment.github.io/aoc/api-assets/image-6.png"
height=
"350px"
>
</div>
</div>
</div>
</section>
</body>
</html>
\ No newline at end of file
</div>
</section>
</body>
</html>
style.css
View file @
567faf79
*
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
font-family
:
'Poppins'
,
sans-serif
;
}
.cont
{
display
:
flex
;
flex-wrap
:
wrap
;
min-height
:
100vh
;
}
.card
{
width
:
33.333%
;
position
:
relative
;
*
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
}
}
.card
.card-desc
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
height
:
100%
;
padding
:
0
20px
0
70px
;
body
{
font-family
:
"Poppins"
,
sans-serif
;
}
.container
{
display
:
flex
;
flex-wrap
:
wrap
;
min-height
:
100vh
;
max-width
:
1920px
;
margin
:
0
auto
;
}
}
.card-text
{
font-size
:
18px
;
}
.card-text
img
,
.logo
img
{
height
:
50px
;
object-fit
:
contain
;
aspect-ratio
:
3
/
2
;
}
.sub-text
{
font-size
:
16px
;
}
.logo
{
margin-left
:
20px
;
position
:
absolute
;
}
.card
.card-image
img
{
.card
{
min-height
:
50vh
;
width
:
33.333%
;
display
:
flex
;
}
.card-body
{
display
:
flex
;
align-items
:
center
;
width
:
100%
;
}
width
:
100%
;
.card-text
{
font-size
:
18px
;
width
:
40%
;
}
.sub-title
{
font-size
:
15px
;
}
.card-image
{
display
:
flex
;
}
object-fit
:
contain
;
}
.card-text
>
p
:first-of-type
{
width
:
168px
;
}
.cont
>
div
:nth-child
(
6
)>
.card-desc
{
padding
:
0
0px
0
46px
;
}
.card
p
{
color
:
white
}
.cardbg1
{
background
:
#41ca6e
;
}
.cardbg2
{
background
:
#fab153
}
.cardbg3
{
background
:
#7277d5
;
}
.cardbg4
{
background
:
#f87d51
;
}
.cardbg5
{
background
:
#ed5466
;
}
.cardbg6
{
background
:
#4ec2e7
;
}
hr
{
height
:
2px
;
background-color
:
white
;
border
:
none
;
margin
:
10px
10px
10px
0px
;
}
.card
.card-desc
.card-text
{
.card-image
img
{
max-width
:
100%
;
}
.card-text
img
,
.logo
img
{
height
:
50px
;
object-fit
:
contain
;
aspect-ratio
:
3
/
2
;
}
.logo
{
position
:
absolute
;
top
:
3px
;
left
:
18px
;
}
margin
:
49px
;
}
.card
p
{
color
:
white
;
}
.cardbg1
{
background
:
#41ca6e
;
}
.cardbg2
{
background
:
#fab153
;
}
.cardbg3
{
background
:
#7277d5
;
}
.cardbg4
{
background
:
#f87d51
;
}
.cardbg5
{
background
:
#ed5466
;
}
.cardbg6
{
background
:
#4ec2e7
;
}
/* .cont>.card-desc:nth-child(1){
padding: 40px 20px 0 40px;
} */
/* small screen */
@media
only
screen
and
(
max-width
:
768px
){
.card
{
flex-basis
:
100%
;
}
.card
.card-desc
{
display
:
flex
;
flex-direction
:
column
;
}
.card-text
>
p
:first-of-type
{
width
:
100%
;
}
}
/* medium screen */
@media
only
screen
and
(
min-width
:
769px
)
and
(
max-width
:
1024px
){
.card
{
width
:
50%
;
}
.card
.card-desc
{
padding
:
34px
20px
15px
40px
;
}
hr
{
height
:
2px
;
background-color
:
white
;
border
:
none
;
margin
:
10px
10px
10px
0px
;
}
@media
only
screen
and
(
min-width
:
320px
),
screen
and
(
max-width
:
573px
)
{
.logo
img
{
max-width
:
100%
;
height
:
40px
;
}
}
@media
only
screen
and
(
max-width
:
768px
)
{
.card
{
width
:
100%
;
min-height
:
calc
(
100vh
-
67px
);
}
.card
.card-body
{
display
:
flex
;
flex-direction
:
column
;
padding
:
40px
auto
;
padding
:
100px
0px
;
gap
:
3em
;
}
}
.logo
{
position
:
relative
;
background
:
white
;
left
:
0
;
top
:
0
;
}
.logo
img
{
max-width
:
100%
;
height
:
60px
;
margin-left
:
10px
;
mix-blend-mode
:
exclusion
;
background
:
black
;
}
@media
(
min-width
:
1025px
){
.card
.card-desc
.card-text
{
margin
:
0px
;
}
}
\ No newline at end of file
.card-text
img
{
height
:
80px
;
}
.card-text
{
font-size
:
28px
;
width
:
65%
;
}
.sub-title
{
font-size
:
25px
;
}
.card-text
.title
{
font-weight
:
bold
;
}
.card-text
>
p
:first-of-type
{
width
:
100%
;
text-transform
:
uppercase
;
}
.card-image
img
{
max-width
:
100%
;
height
:
auto
;
}
.card-image
{
gap
:
5
;
}
}
@media
only
screen
and
(
min-width
:
769px
)
{
.card
{
width
:
50%
;
min-height
:
50vh
;
}
.card-body
{
padding-left
:
39px
;
}
.card-text
,
.sub-title
{
font-size
:
16px
;
}
.card-image
{
padding
:
35px
;
padding-bottom
:
10px
;
}
.container
>
div
:nth-child
(
6
)
>
.card-body
.card-image
{
max-width
:
100%
;
padding
:
0px
;
}
}
@media
only
screen
and
(
min-width
:
1023px
)
{
.card
{
min-height
:
50vh
;
width
:
33.333%
;
}
.card-body
{
padding
:
0px
;
padding-left
:
65px
;
}
.logo
img
{
height
:
45px
;
}
.card-text
{
width
:
55%
;
}
.card-text
,
.sub-title
{
font-size
:
16px
;
}
.card-image
{
max-width
:
100%
;
}
.card-image
img
{
height
:
auto
;
max-height
:
50vh
;
}
}
@media
only
screen
and
(
min-width
:
1024px
)
and
(
max-width
:
1440px
)
{
.card-text
,
.sub-title
{
font-size
:
14px
;
}
.card-text
img
{
height
:
35px
;
}
.card-body
{
padding-left
:
35px
;
}
}
@media
only
screen
and
(
min-width
:
1441px
)
{
.card
{
height
:
50vh
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment