CSS Styling Flashcards

1
Q

Why are CSS resets helpful for cross browser compatibility?

A

To reduce browser inconsistencies

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

Why is it important to be mindful of what you reset with your CSS resets?

A

They have different default settings

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

What is an argument against using CSS resets?

A

outline property

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

What is the default value for the position property of HTML elements?

A

Static position

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

How does setting position relative on an element affect document flow and where the element appears on the page?

A

in relation to where it would have been to normal flow

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

How does setting position absolute on an element affect document flow and where the element appears on the page?

A

box is taken out and it no longer effects other elements

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

What are the box offset properties?

A

top
bottom
left and right

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

What were floats originally designed for?

A

newspaper and mag

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

What are clears for with floats?

A

touch left and right hand side of the box

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

What are some of the downsides for using floats in layout design?

A

some browsers will treat it as zero px

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

What is the default flex-direction of a flex container?

A

Row

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

What is the default flex-wrap of a flex container?

A

all try to fit onto one line no wrap

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

Why is it important to use a grid system for CSS layouts?

A

proper sizing

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

What are the three core parts of a grid system?

A

Column
Rows
container

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