3.3 css Flashcards
What is the box model in CSS?
“A model for borders and outlines”
List possible values for the border-style property.
“none
List possible values for the border-width property.
“thin
How can margin be set in CSS?
“{margin: value} with number values (margin-top
How can padding be set in CSS?
“{padding: value} with number values (padding-top
What are possible values for the background-repeat property?
“repeat (default)
What are possible values for the background-position property?
“top
What is the purpose of the <span>
tag in CSS?
“Just for defining style”
What is the purpose of the <div>
tag in CSS?
“Apply style to several elements”
What are the rules for conflict resolution in CSS?
“Selector Rules: Specificity
What are the origins of rules in conflict resolution?
“Author’s vs. Reader’s: Important declarations with user origin