โ† All CSS Flashcard Decks

CSS Technology Applications Flashcards

7 cards from real CSS practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 CSS Technology Applications flashcards as text
  1. Which CSS property controls the transparency of an element?

    Answer: opacity

    The opacity property sets the transparency level from 0 (transparent) to 1 (opaque).

  2. What is the purpose of the CSS 'transition' property?

    Answer: To animate changes between property values smoothly

    transition smoothly animates a property's change over a specified duration.

  3. Which value makes an element a flex container?

    Answer: display: flex

    Setting display: flex turns an element into a flex container.

  4. How do you select all elements that are direct children of a ?

    Answer: div > p

    The child combinator (>) selects only direct children.

  5. Which property is used to add a shadow effect to an element's box?

    Answer: box-shadow

    box-shadow adds shadow effects around an element's frame.

  6. What does 'overflow: hidden' do to content that exceeds its container?

    Answer: Clips the overflowing content

    overflow: hidden clips any content that overflows the container, hiding it.

  7. Which color format supports an alpha (transparency) channel?

    Answer: rgba()

    rgba() includes an alpha channel for transparency in addition to red, green, and blue.