Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
31 Cards in this Set
- Front
- Back
Display h1 in the color ff0000
|
h1 {
color: #ff0000; } |
|
Give the body a background color of ffcc66.
|
body {
background-color: #FFCC66; } |
|
Give the body a background image, butterfly.gif.
|
body {
background-image: url("butterfly.gif"); } |
|
Specify that the background image is not to repeat
|
background-repeat: no-repeat;
|
|
Specify that the background image is to repeat horizontally.
|
background-repeat: repeat-x;
|
|
Specify that the background image is to repeat vertically.
|
background-repeat: repeat-y;
|
|
Specify that the background image is to repeat both horizontally and vertically.
|
background-repeat: repeat;
|
|
Specify that the background image doesn't scroll with the paged.
|
background-attachment: fixed;
|
|
Specify that the background image does scroll with the paged.
|
background-attachment: scroll;
|
|
Position the background image 50 pixels from the left and 20 pixels from the top
|
background-position: 50px 20px;
|
|
Center the background image horizontally and 25% from the top
|
background-position: 50% 25%;
|
|
Position the background image at the right bottom
|
background-position: right bottom;
|
|
Compile the following into 1 rule: background color of #FFCC66, background-image url("butterfly.gif"), background that repeats horizontally, a background image that doesn't scroll, a background image that centered horizontally and positioned at the top
|
background-color: #FFCC66;
background-image: url("butterfly.gif"); background-repeat: repeat-x; background-attachment: fixed; background-position: 50% 0%; |
|
Display h2 in Times New Roman.
|
h2
{font-family: "Times New Roman", serif; } |
|
Display h2 in Arial.
|
h2
{font-family: Arial, sans-serif; } |
|
Make it small caps.
|
font-variant: small-caps;
|
|
Make it bold.
|
font-weight: bold;
|
|
Make it 12-point.
|
font-size: 12pt;
|
|
Make it 1.2 ems.
|
font-size: 1.2em;
|
|
Indent the first line of the pargraph 30 pixels
|
p {
text-indent: 30px; } |
|
Justify the paragraph
|
p {
text-align: justify; } |
|
Underline the paragraph
|
p {
text-decoration: underline; } |
|
Space letters 3 pixels apart in the paragraph
|
p {
letter-spacing: 3px; } |
|
Capitalize all the words in a line.
|
li {
textransform: capitalize; } |
|
Make unvisited links blue and visited links red.
|
a:link {color: blue;}
a:visited {color: red;} |
|
On a hover over a link bold it and give it a yellow background color.
|
a:hover {
font-weight: bold; background-color: yellow; } |
|
Remove the underline under a link.
|
a {text-decoration: none;}
|
|
Create a class of links for special links that are red.
|
a.special {
color: red; } |
|
Create an ID called "footerCopyright" that is red.
|
#footerCopyright {
color: red; } |
|
Create a span for extra emphasis and make it red
|
span.extraEmphasis {
color: red; } |
|
Create an ID that gives a background of blue to a list of democrats.
|
#republicans {
background: blue; } |