Block Box Model Flashcards
Up to where does the background-color and background-image properties apply by default?
They apply up to the outer edge of the border.
If the background-color and background-image properties are applied to the same element, how are the properties applied?
The color is applied first, and then the image is stacked on top of the color.
What happens when a border is applied to an element also having the background-color and/or background-image property applied?
The border is stacked on top of the color and or image.
Which property affects the area over which the background-color and background-image apply?
The background-clip property.
What are the allowed values of the background-clip property?
border-box, padding-box, and content-box.