Week 5 - CSS Part 2 Flashcards
What does repeat-x mean?
It will repeat the background image in the x-axis
What’s the property to make things disappear when your mouse is on them?
aside:hover {
visibility: visibile/hidden;
}
What does inset mean in borders?
inset is short form way of saying top left bottom & right (applies to all sides)
What is a way to format paragraphs/elements using pseudo class selectors?
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)
What does margin: auto; do?
Horizontally centers the element within the container and will take up specified width, while also centering from left and right sides.