Design with a Grid Flashcards

1
Q

Why design with a grid?

A

Ensure consistency and symmetrical design layout

It utilizes columns and gutters for symmetry

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the best column grid layout to use?

A

You should use a 12-grid layout to start with gutters in between. It can easily be changed to 2,3,4,6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain some of the grid property and mechanics?

A

You can use the built in grid display

.grid-container{

display: grid;

grid-template-columns, 1fr 200 px ……you can use these for amounts of column width

grid-template-rows: 200 px; ….for height of the row

grid-column-gap

grid-row-gap

grid-gap

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is flexbox?

A

Can create flexible items and automatically can height things evenly unlike hacking it with float

.flex-container{

margin-bottom: 100px;

display: flex;

flex-direction: row-reverse; reverse the items

justify-content: flex-end; — how you position them/align them on the page

}

the items you can control the width if you want

How well did you know this?
1
Not at all
2
3
4
5
Perfectly