css-transforms Flashcards

1
Q

What does the transform property do?

A

lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual formatting model.

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

What is the difference between the :first-child pseudo selector and the :last-child pseudo selector?

A

he :first-child pseudo class means “if this element is the first child of its parent”. :last-child means “if this element is the last child of its parent”. Note that only element nodes (HTML tags) count, these pseudo-classes ignore text nodes.

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