Week 5 - CSS Part 2 Flashcards

1
Q

What does repeat-x mean?

A

It will repeat the background image in the x-axis

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

What’s the property to make things disappear when your mouse is on them?

A

aside:hover {
visibility: visibile/hidden;
}

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

What does inset mean in borders?

A

inset is short form way of saying top left bottom & right (applies to all sides)

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

What is a way to format paragraphs/elements using pseudo class selectors?

A

Making use :firstchild, :nth-child(n) and :lastchild which allow for more specific styling of things.

This is useful when making footers so that they are aligned correctly.
(More on lab05 for example reference)

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

What does margin: auto; do?

A

Horizontally centers the element within the container and will take up specified width, while also centering from left and right sides.

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