ccs Flashcards

1
Q

how to reset ccs rules in a selector

A

all : none;

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

flex vs inline-flex ?

A

inline if for the container not the items inside

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

multiple backgrounds

A

background: url(path1), url(path2)

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

align-items vs align-content

A

align-items: inside each row

align-content: between the rows

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

is css case sensitive

A

no

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

does margin-top and margin-bottom affect inline

A

No

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

page X vs offsetX vs client X

A

offsetX: distance inside of the box
pageX: distance from top of the page
clientX: distance from edge of visible part of the page

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

explain transform: perspective()

A

Doesn’t affect the element itself, but affects the transforms of descendent elements’ 3D transforms, allowing them all to have a consistent depth perspective.

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

which transform will be performed first ?

transform: scale(20) skew(-20deg);

A

skew will be performed first and then the element will be scaled.

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