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
Which CSS property controls the transparency of an element?
Answer: opacity
The opacity property sets the transparency level from 0 (transparent) to 1 (opaque).
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.
Which value makes an element a flex container?
Answer: display: flex
Setting display: flex turns an element into a flex container.
How do you select all elements that are direct children of a ?
Answer: div > p
The child combinator (>) selects only direct children.
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.
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.
Which color format supports an alpha (transparency) channel?
Answer: rgba()
rgba() includes an alpha channel for transparency in addition to red, green, and blue.