CSS Flashcards

1
Q

What does the transform property do?

A

lets you change the orientation of an element

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

Give four examples of CSS transform functions.

A

rotate, skew, scale, translate

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

The transition property is shorthand for which four CSS properties?

A

transition-delay, transition-duration, transition-property, transition-timing-function

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

Give two examples of media features that you can query in an @media rule.

A

min-width, max-width

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

Which HTML meta tag is used in mobile-responsive web pages?

A

name=”viewport” content=”width=device-width, initial-scale=1”

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

What is a breakpoint in responsive Web design?

A

point where design changes to keep layout from breaking

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

What is the advantage of using a percentage (e.g. 50%) width instead of a fixed e.g. px width for a column class in a responsive layout?

A

layout adapts to exact dimensions of the width. container should be the set measurements

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

If you introduce CSS rules for a smaller min-width after the styles for a larger min-width in your style sheet, the CSS rules for the smaller min-width will “win”. Why?

A

The bottom one due to CSS source order specificity

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