prep-css-qna Flashcards
What are some characteristics of block?
It starts on a new line, and takes up the whole width
What are some characteristics of inline?
Any height and width properties will have no effect
only take up as much space as needed
What are some characteristics of inline-block?
element itself is formatted as an inline element, but you can apply height and width values
What CSS properties make up the box model?
content
padding
border
margin
Which CSS property pushes boxes away from each other?
the margin
Which CSS property pushes box content away from its border?
the padding
What is the purpose of CSS?
describes how HTML elements are to be displayed on screen, paper, or in other media
saves work
controls layout of multiple web pages all at once
Describe the syntax of a CSS rule-set.
selector and declaration block with a declaration of a
property:value