2nd Flashcards
The property that specifies the background color of an element
background-color
The property used to specify the indention of the first line of a text
text-indent
Selects elements based on a specific relationship between them
combinator selectors
It is much like the “em” unit, save for a few fundamental differences
Percent (%):
The property used to set or remove decorations from the text
text-decoration property
A type of generic font family that creates a modern and minimalistic look
Sans-serif
Select elements based on name, id and class
simple selectors
The properties that can be used to change the text direction of an element
direction and Unicode-bidi
The property that specifies the weight of a font
font-weight
These allow the user to have more control over how the pages display
User style sheet
Selects elements based on an attribute or attribute value
attribute selectors
The property used to specify the space between the characters in a text
letter-spacing
Are traditionally used in print media
Points (pt):
The property that sets the size of the text
font-size
The property used to specify the space between the words in a text
word-spacing
Prevents the case of all characters to be changed
none
The property that specifies the opacity/transparency of an element
opacity
A scalable unit that is used in web document media
“Ems” (em):
The property used to specify uppercase and lowercase letters in a text
text-transform
The property that adds shadow to text
text-shadow
A type of generic font family that creates a sense of formality and elegance
Serif
A weight that is applied to a given CSS declaration determined by the number of each selector type in the matching selector
Specificity
A type of generic font family that creates a mechanical look
Monospace
The property that specifies how white-space inside an element is handles
white-space
The property that sets the vertical alignment of an element
vertical-align
The property used to set color of the text
color
These are style sheets created by the author of the Web page
Author style sheet
The property used to specify the space between lines
line-height
These are styles that the Web browser applies to the page to help display it
Browser
The properties that define the font family, boldness, size, and the style of a text
CSS font
A group of font families with a similar look
generic family
Are fixed-size units that are used in screen media
Pixels (px):
The property that specifies whether or not a text should be displayed in a small-caps font
font-variant property
The text follows the case and capitalize of its parent element
inherent
Select and style a part of an element
pseudo-elements selectors
The property used to set the horizontal alignment of the text
text-align
Allows a user to change the text size in browsers
relative size
Select elements based on a certain state
pseudo-class selectors
Does not allow the user to change the text size in all browsers
absolute size
A font-styles that are sloped versions of the regular font face with no major design differences, other than their angle
Oblique
Give the five(5) Generic font families in CSS.(5 points)
Give the three(3) examples of font names of Sans-serif generic font family.(3 points)
Give at least three(3) font-style property values.(3 points)
Give the four(4) font size units of measurements.(4 points)
Give at least three(3) examples of font names of Serif generic font family.(3points)
Give at least two(2) examples of font names of Fantasy generic font family.(2 points)