3.2 css Flashcards
Name seven categories of CSS properties.
“Fonts
Name four ways to give property values in CSS.
“Keywords
List common units for length values in CSS.
“px (pixels)
What is a generic font?
“serif
Give examples of Serif fonts.
“Times New Roman
Give examples of Sans-serif fonts.
“Arial
Give examples of Monospace fonts.
“Courier New
List possible values for the font-size property.
“A length number or a name
How can relative font sizes be set using ‘em’?
“h1 { font-size: 2.5em; }”
What is ‘vw’ in CSS?
“view width”
How can responsive font size be achieved using ‘vw’?
“<h1 style='font-size:10vw'>Hello World</h1>”
What are possible values for the font-style property?
“italic
List possible values for the font-weight property.
“bolder
What is the correct order for the font shorthand property?
“style
Give possible values for the text-decoration property.
“line-through
List possible values for the list-style-type property.
“disc
How can an image be used as a bullet point in a list?
“Using the list-style-image property”
What are some values for list-style-type for ordered lists?
“decimal
Name three types of web safe colors.
“16 colors
List possible values for the text-indent property.
“A length or a % value”
What are possible values for the text-align property?
“left (default)
List possible values for the float property.
“left