- What are the possible values for the
displayproperty? What are their respective features? - Explain the purpose of the
marginproperty. What are the effects of using negative values? Describe the concept of margin collapsing and when it occurs. - What does the
vertical-alignproperty do? What values does it have? - What is
padding? - What is
box-sizing? - Fonts
- What are the ways to set the font size and what units can be used?
- What are the differences between serif, sans-serif, and monospace fonts?
- What are the peculiarities of connecting fonts through
font-face?
- Colors
- What are the ways to set a color? How to set a transparent color?
- How to get the current color in another CSS property?
- What color models are allowed to be used in CSS? What is the structure of those models?
- What role does the alpha channel play? How to use it?
- What is the document flow?
- Explain the purpose of the
floatproperty. What causes the collapse of the parent element with a floated child? - What does the
positionproperty do?- Which elements are referred to as positioned elements?
- When using different values of the
positionproperty, what is the reference point for positioning elements?
- What does the
z-indexproperty do? - Stacking context
- What is it?
- How does it affect the arrangement of elements with a specified
z-indexproperty? - What properties create a new stacking context?
- Flex
- What is flexbox?
- Is there an inline flexbox?
- What are flex-container and flex-items?
- How to align elements using flexbox?
- Explain how
flex-growandflex-shrinkwork. How is the distribution of occupied and free space calculated when using these properties?
- More complex things in layout:
- Borders
- What do the following properties do and what values can they take:
border-styleborder-colorborder-widthborder-radiusborder
- Can styles be set for each border separately (for example, separately for the left and right borders)?
- What do the following properties do and what values can they take:
- Outer borders (outline)
- What is the difference from regular borders?
- What do the following properties do and what values can they take:
outline-styleoutline-coloroutline-widthoutline-offsetoutline
- Shadows
- What does the
text-shadowproperty do? How to use it? - What does the
box-shadowproperty do? How to use it? - How to make one element have multiple shadows?
- Is it possible to set shadow parameters separately (for example, set the color or shadow size separately)?
- What does the
- Backgrounds
- What do the following properties do and what values can they take:
background-imagebackground-positionbackground-sizebackground-repeatbackground-originbackground-clipbackground-attachmentbackground-colorbackground
- What do the following properties do and what values can they take:
- Gradients
- What does the
linear-gradientfunction do? How to use it? - What does the
radial-gradientfunction do? How to use it?
- What does the
- Animations
- What is
@keyframes? What is it for? How to use it? - What do the following properties do and what values can they take:
animationanimation-delayanimation-directionanimation-durationanimation-fill-modeanimation-iteration-countanimation-nameanimation-play-stateanimation-timing-functiontransitiontransition-delaytransition-durationtransition-propertytransition-timing-function
- Can multiple animations be set for one element?
- What is
- Transformations
- What does the
transformproperty do? What values can it be set to? - Can multiple transformations be set for one element?
- When applying transformations, does the position of the coordinate plane change?
- What does the
- Borders
- Units of measurement
- How are the width and height calculated when set as percentages?
- How are the padding and margin calculated when set as percentages?
- How is the line-height calculated when set as percentages?
- How to use
vh,vw,vmin,vmax?
- What does the
object-fitproperty do? - What does the
aspect-ratioproperty do? - How to style a checkbox?
- How to stick the footer to the bottom of the page (name at least two ways)?
- How to center an element horizontally (name at least three ways)?
- How to center an element vertically (name at least three ways)?
- What are
media-queries? - What is the difference between responsive, adaptive, liquid layouts?
- What types of selectors are there (by tag, by class, etc.)?
- Explain how selector priorities work and describe the four possible relationships between selectors.
- What does the CSS rule
* { box-sizing: border-box; }do? What is the purpose of it?