used to specify upper or lowercase in a text. Can be used to turn everything into upper or lowercase or capilize the first letter of each word.
Back
font-variant
Front
specifies whether or not text should be displayed in small-caps font
Back
background-repeat
Front
sets how a background image will be repeated
Back
What is the id selector and how is it defined?
Front
The id selector is used to specify a style for a single unique element. The id selector is defined with a #.
#idExample
{
text-align:center;
}
Back
List all the CSS text properties (13 total)
Front
color
direction
letter-spacing
line-height
text-align
text-decoration
text-indent
text-shadow
text-transform
unicode-bidi
vertical-align
white-space
word-spacing
Back
text-alignment is used to set:
Front
the horizontal alignment of text.
Text can be centered, aligned left or right and justified
Back
You can specify that only specific HTML elements be affected by a class. Give an example of how.
Front
p.classExample
{
text-align:center;
}
Back
to avoid font sizing issues accross browsers you should specify size with what unit?
Front
Em (recommended by W3C)
Back
What is the syntax for writing comments in CSS?
Front
/ This is a comment /
Back
font-family
Front
specifies the font family for text
Back
font-weight
Front
specifies a weight of a font
Back
text-indent
Front
used to specify the indentation of the first line of text
Back
font
Front
sets all the font properties in one declaration
Back
What are the three ways to insert a style sheet (in cascading order)?
Front
• linking and external style sheet
• inside the head of a document
• inside and html element
Back
background-color
Front
sets the background color of an element
Back
What is the class selector and how is it defined?
Front
The class selector is used to specify a style for a group of elements. Unlike the id selector the class selector is often used on several elements. THe class slelector is defined with a .
.classExample
{
text-align:center;
}