CSS3 Flashcards
Border Radius
defines rounded border corners. The curve of each corner is defined using one or two radii, defining its shape: circle or ellipse.
Box Shadow
horizontal offset: positive right; negative left
vertical offset: positive below; negative above
blur radius: 0 (less blur) to posNum (most blur)
spread radius: positive increase shadow; negative decrease shadow
Transition
place the transition property on the selectors you want to give a timing transition
ex: div {
transition: background-color 0.5s ease;
background-color: red;
}
div:hover {
background-color: green;
}
pseudo selectors: :before, :after, :nth-child
RESEARCH
classname patterns like BEM
RESEARCH
vendor prefixes
RESEARCH
explain event bubbling
RESEARCH
explain event delegation
RESEARCH
give an example of when it’s appropriate to apply styles to a node like button { … }
as opposed to using a unique classname .button { … }
RESEARCH
should be able to implement a sticky footer
RESEARCH
should be able to implement a button that depresses when clicked
RESEARCH
should be able to implement a dropdown menu
RESEARCH
css selectors parts: ~=, |=, ^=, $=
RESEARCH
pseudo selectors: :not
RESEARCH
@media queries
RESEARCH