Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
training-responsive-layout
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
Ajmal.S
training-responsive-layout
Commits
fe153d35
Commit
fe153d35
authored
Feb 14, 2022
by
Ajmal.S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flexbox css modified
parent
5f4eb4a4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
flex.css
assets/css/flex.css
+5
-4
flexbox-layout.html
flexbox-layout.html
+2
-2
No files found.
assets/css/flex.css
View file @
fe153d35
...
...
@@ -18,13 +18,13 @@ hr {
}
.column
{
padding
:
10%
;
width
:
100%
;
flex
:
100%
;
min-height
:
400px
;
height
:
100vh
;
max-height
:
700px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
padding
:
10%
;
}
.column
:nth-of-type
(
1
)
{
...
...
@@ -71,8 +71,7 @@ figure img {
@media
screen
and
(
min-width
:
540px
)
{
.column
{
flex
:
100%
;
padding
:
4%
;
padding
:
10%
;
}
.info
{
...
...
@@ -89,6 +88,7 @@ figure img {
.column
{
flex
:
50%
;
max-height
:
400px
;
padding
:
2%
;
}
figure
{
...
...
@@ -101,6 +101,7 @@ figure img {
flex
:
33.3%
;
flex-direction
:
column
;
min-height
:
450px
;
padding
:
4%
;
}
}
...
...
flexbox-layout.html
View file @
fe153d35
...
...
@@ -21,7 +21,7 @@
<p>
1 Year Free Mobile Security
</p>
</div>
<figure>
<img
src=
"assets/img/image-1.png"
class=
"c-img"
>
<img
src=
"assets/img/image-1.png"
>
</figure>
</div>
<div
class=
"column"
>
...
...
@@ -76,7 +76,7 @@
<p>
1000 pts Discount on Subscription
</p>
</div>
<figure>
<img
src=
"assets/img/image-6.png"
class=
"c-img"
>
<img
src=
"assets/img/image-6.png"
>
</figure>
</div>
</div>
...
...
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