CSS Syntax, Colors, Transform Flashcards

1
Q

What are the names of the individual pieces of a CSS rule?

A

A selector, a declaration, and key value pairs.

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

In CSS, how do you select elements by their class attribute?

A

With a period (or full stop) symbol.

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

In CSS, how do you select elements by their tag name?

A

Element names.

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

In CSS, how do you select an element by its id attribute?

A

With a pound (or hash) symbol.

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

What does the transform property do?

A

Applies a 2D or 3D transformation to an element.

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

Give four examples of CSS transform functions.

A

Rotate, scale, skew, or translate

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