CSS Knowledge and Application Audio Quiz Quiz

  1. Understanding the Display Property

    Which value of the CSS display property makes an element a block-level element?

    1. block
    2. inline
    3. bloc
    4. blcok
    5. inline-block
  2. Flexbox Direction Control

    Which property allows you to change the main axis direction of a flex container?

    1. flex-direction
    2. flex-dirction
    3. direction
    4. orientation
    5. flex-orientation
  3. CSS Grid Column Setup

    What property is used to define the column sizes in a CSS Grid container?

    1. grid-template-columns
    2. grid-columns
    3. columns-template
    4. grid-col
    5. grid-temp-rows
  4. Keyframes Animation

    Which keyword is used to create CSS keyframes for animations?

    1. @keyframes
    2. @keyfrmames
    3. @frames
    4. @animate
    5. keyframe
  5. Box Sizing Calculation

    If box-sizing is set to border-box, which of the following are included in an element's total width and height?

    1. content, padding, and border
    2. content and margin only
    3. content, margin, and border
    4. only the content
    5. content, padding, and margin
  6. Pseudo-classes Usage

    Which option is a valid CSS pseudo-class used to select an element on mouse hover?

    1. :hover
    2. :hoover
    3. hover:
    4. .hover
    5. ::hover
  7. Responsive Web Design

    Which CSS feature is primarily used to apply styles based on screen size or device characteristics?

    1. media queries
    2. responsive tags
    3. screen-breaks
    4. breakpoints
    5. query-media
  8. Element Transformation

    Which CSS property would you use to rotate a block element by 90 degrees?

    1. transform
    2. transition
    3. rotate
    4. animation
    5. transfrom
  9. Selector Specificity

    Which type of selector has the HIGHEST specificity, excluding !important?

    1. Inline style
    2. Class selector
    3. Element selector
    4. ID selector
    5. Universal selector
  10. Universal Selector Symbol

    What symbol is used for the universal selector in CSS, applying styles to all elements?

    1. *
    2. #
    3. .
    4. u0026
    5. ^