Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CSS-Project
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
Anburaj G
CSS-Project
Commits
5a7e2ee6
Commit
5a7e2ee6
authored
Apr 13, 2022
by
Anburaj G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
responsive view
parent
4531066d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
128 additions
and
0 deletions
+128
-0
stylesheet1.css
stylesheet1.css
+128
-0
No files found.
stylesheet1.css
0 → 100644
View file @
5a7e2ee6
*
{
margin
:
0px
;
padding
:
0px
;
font-family
:
'Segoe UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
}
body
{
padding
:
0px
;
margin
:
0px
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
width
:
100%
;
min-height
:
100vh
;
}
.container
{
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
width
:
100%
;
}
.card
{
display
:
flex
;
}
nav
>
img
{
max-width
:
50%
;
margin
:
60%
20%
3%
9%
}
nav
>
h3
{
color
:
white
;
font-size
:
14px
;
line-height
:
1.5rem
;
}
nav
>
hr
{
border
:
1px
solid
white
;
}
nav
>
p
{
color
:
white
;
opacity
:
0.5
;
text-transform
:
uppercase
;
font-size
:
9px
;
margin
:
1%
2%
3%
2%
}
main
>
img
{
max-width
:
90%
;
margin
:
1%
5%
2%
10%
;
}
.card
:nth-child
(
1
)
{
background-color
:
rgb
(
65
,
202
,
110
);
padding
:
20%
5%
1%
20%
;
}
.card
:nth-child
(
2
)
{
background-color
:
rgb
(
250
,
177
,
83
);
padding
:
20%
15%
1%
30%
;
}
.card
:nth-child
(
3
)
{
background-color
:
rgb
(
114
,
119
,
213
);
padding
:
13%
15%
1%
15%
;
}
.card
:nth-child
(
4
)
{
background-color
:
rgb
(
248
,
125
,
81
);
padding
:
15%
10%
1%
15%
;
;
}
.card
:nth-child
(
5
)
{
background-color
:
rgb
(
237
,
84
,
102
);
padding
:
15%
10%
1%
15%
;
}
.card
:nth-child
(
6
)
{
background-color
:
rgb
(
78
,
194
,
231
);
padding
:
15%
10%
0%
9%
;
}
@media
(
min-width
:
320px
)
and
(
max-width
:
768px
)
{
.container
{
display
:
grid
;
grid-template-columns
:
repeat
(
1
,
1
fr
);
min-height
:
100vh
;
}
.card
{
min-height
:
100vh
;
display
:
flex
;
flex-direction
:
column
;
}
main
>
img
{
align-items
:
center
;
}
}
@media
(
min-width
:
768px
){
.container
{
display
:
grid
;
grid-template-columns
:
repeat
(
2
,
1
fr
)
}
}
@media
(
min-width
:
1100px
){
.container
{
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
}
}
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