The flashcards below were created by user
on FreezingBlue Flashcards.
what three parts make up css declerations?
Selector (an html element ususually), property attribute (i.e color, background image, etc...) and value of the property attribute(i.e green, image.png etc...)
How do you end declerations properly?
using a semi-colon example:
How do you close declerations properly?
using brackets example:
how do you make a fixed image in css?
What is a background-attachment?
It is the property that states if background is fixed or scrolls with page contents.
What is the shorthand property for background?
What order does content go in for shorthand property?
What is the background-color property?
It is was what sets the background color of an element.
What are the three color values used for the background-color decleration?
what is the background-image?
It is the image used to define a pages background.
How do you setup the background-image decleration?
What is the syntax for an internal style sheet in head section?
- <style type="text/css">
What is backround-position?
It is what sets the placement of background position on page.
What are the values for background-position?
- left top;
- left center;
- left bottom;
- right top;
- right center;
- right bottom;
- center top;
- center center;
- center bottom;
- px px; (i.e (x position, y position))
- % %;
What is the color property?
It is the property that sets the color of text.
what is the W3 rule if you define the color property?
If you define the color property you must also define background-color.
what are the options for the text-align property?
What are the values for text-decoration?
What is text-decoration property used for?
Used to edit links style as well as regular text decoration.
What is the text-transform used for?
for changing the case sensitivity of html text.
What are the values for text-transform property?
What are the values for text-indent property?
50px; (or any number to set pixel indent distance)
What are the values for letter-spacing property?
px; (negative - or Positive +)
what are the values for line-height property?
What does the direction property control?
It controls the direction the text is displayed.
What are the values for the direction property?
What does the word-spacing property do?
Sets the distance between words in a sentence.
What are the units involved to set the distance between words with the word-spacing property?
What does the white-space property do?
it stops text from wrapping when resizing page.
what are the values for white-space property?
- nowrap; (text never wraps)
- pre; (text only wraps where you insert line breaks)
- pre-line; (wraps only when necessary)
- pre-wrap; (maintained by browser)
What is the vertical-align property do?
It sets how images are aligned within text.
What are the values for the vertical-align property?
- text-top; (aligns text with top of image)
- text-bottom; (aligns text with bottom of image)