ccs Flashcards
how to reset ccs rules in a selector
all : none;
flex vs inline-flex ?
inline if for the container not the items inside
multiple backgrounds
background: url(path1), url(path2)
align-items vs align-content
align-items: inside each row
align-content: between the rows
is css case sensitive
no
does margin-top and margin-bottom affect inline
No
page X vs offsetX vs client X
offsetX: distance inside of the box
pageX: distance from top of the page
clientX: distance from edge of visible part of the page
explain transform: perspective()
Doesn’t affect the element itself, but affects the transforms of descendent elements’ 3D transforms, allowing them all to have a consistent depth perspective.
which transform will be performed first ?
transform: scale(20) skew(-20deg);
skew
will be performed first and then the element will be scaled.