Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Web Visualization
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AB0410
Web Visualization
Commits
164a3270
Commit
164a3270
authored
2 years ago
by
AB0410
Browse files
Options
Downloads
Patches
Plain Diff
WV2 done
parent
00c6b1f5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
WV1-2/responsive.html
+23
-1
23 additions, 1 deletion
WV1-2/responsive.html
WV1-2/styles.css
+88
-0
88 additions, 0 deletions
WV1-2/styles.css
with
111 additions
and
1 deletion
WV1-2/responsive.html
+
23
−
1
View file @
164a3270
...
@@ -2,10 +2,32 @@
...
@@ -2,10 +2,32 @@
<html
lang=
'en'
>
<html
lang=
'en'
>
<head>
<head>
<meta
charset=
'UTF-8'
/>
<meta
charset=
'UTF-8'
/>
<meta
name=
'viewport'
content=
'width=device-width, initial-scale=1.0, maximum-scale=1.0'
/>
<title>
Responsive Design
</title>
<title>
Responsive Design
</title>
<link
rel=
'stylesheet'
href=
'styles.css'
/>
<link
rel=
'stylesheet'
href=
'styles.css'
/>
</head>
</head>
<body>
<body>
<!-- There's nothing here! -->
<div
class=
'page'
>
<section
class=
'section menu'
></section>
<header
class=
'section header'
>
<img
src=
'images/header.svg'
/>
</header>
<section
class=
'section content'
>
<img
src=
'images/content.svg'
/>
</section>
<section
class=
'section sign-up'
>
<img
src=
'images/sign-up.svg'
/>
</section>
<section
class=
'section feature-1'
>
<img
src=
'images/feature.svg'
/>
</section>
<section
class=
'section feature-2'
>
<img
src=
'images/feature.svg'
/>
</section>
<section
class=
'section feature-3'
>
<img
src=
'images/feature.svg'
/>
</section>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
WV1-2/styles.css
0 → 100644
+
88
−
0
View file @
164a3270
*
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
}
.page
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.section
{
width
:
100%
;
height
:
300px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.menu
{
background-color
:
#5995DA
;
height
:
80px
;
}
.header
{
background-color
:
#B2D6FF
;
}
.content
{
background-color
:
#EAEDF0
;
height
:
600px
;
}
.sign-up
{
background-color
:
#D6E9FE
;
}
.feature-1
{
background-color
:
#F5CF8E
;
}
.feature-2
{
background-color
:
#F09A9D
;
}
.feature-3
{
background-color
:
#C8C6FA
;
}
/* Mobile Styles */
@media
only
screen
and
(
max-width
:
400px
)
{
body
{
background-color
:
#F09A9D
;
/* Red */
}
}
/* Tablet Styles */
@media
only
screen
and
(
min-width
:
401px
)
and
(
max-width
:
960px
)
{
.sign-up
,
.feature-1
,
.feature-2
,
.feature-3
{
width
:
50%
;
}
}
/* Desktop Styles */
@media
only
screen
and
(
min-width
:
961px
)
{
.page
{
width
:
960px
;
margin
:
0
auto
;
}
.feature-1
,
.feature-2
,
.feature-3
{
width
:
33.3%
;
}
.header
{
height
:
400px
;
}
.sign-up
{
height
:
200px
;
order
:
1
;
}
.content
{
order
:
2
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment