Layout & Design Flashcards

1
Q

What is the Display Settings?

A

Located in the style panel, control the layout behavior of an element and the content around that element. Here, you can control how elements are displayed in relation to each other - whether they’re stacked on top of one another or laid out side by side.

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

What are the 6 display settings?

A

Block, Flexbox, Grid, Inline Block, Inline, and None

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

Block

A

Block is the default display setting for most elements. Each block element starts on a new line and takes up the full width of its parent element unless a custom width is set.

Regardless of its width, each block element will push the next element onto a new line. To lay elements side by side, select a different layout setting, such as inline-block.

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

Flexbox

A

Elements with a flex layout arrange their children horizontally or vertically.

You can customize how the direct children stack, when they wrap, how they are aligned and justified within the flex container.

When you create a flex container, all direct children of that parent element become flex children. You can add to and override the layout of flex children in the flex child settings.

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

Grid

A

Elements with a grid layout arrange their direct children across multiple columns and rows.

You can customize how the direct children are positioned, aligned, and distributed within the grid components: the container, the individual cells, group of cells, or tracks.

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

Grid vs Flex

A

Flexbox and grid are both great layout options. Flexbox gives you layout controls in one dimension — either vertical or horizontal. Grid gives you layout controls that work in two-dimensions, which is great for magazine layouts, for example.

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

Inline block

A

Inline-block elements are stacked side-by-side and their width is determined by the content inside.

Inline-block elements will also wrap when the content hits the boundary of the parent element. In the Style panel, you can apply specific width, height, padding, and margin settings to inline-block elements.

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

Inline

A

Inline is the default display setting for any text content inside an element. You can change the layout of an inline element by changing its margins and padding but you cannot change its width or height.

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

Display: none

A

To hide an element completely, set its display setting to none. Elements set to display none will not be rendered by the browser, which can be handy for altering how content displays on mobile devices.

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