Home
Flashcards
Preview
CSS Test
Home
Get App
Take Quiz
Create
Background?
Sets all the background properties in one declaration
Background-color?
Sets the background color of an element
Background-image?
Sets the background image for an element
Background-repeat?
Sets how a background image will be repeated
Background-attachment?
Sets whether a background image is fixed or scrolls with the rest of the page
Background-position?
Sets the starting position of a background image
Border?
Sets all the border properties in one declaration
Border-top?
Sets all top border properties in one declaration
Border-top-color?
Sets the color of the top border
Border-top-style?
Sets the style of the top border
Border-top-width?
Sets the width of the top border
Border-right?
Sets all the right border properties in one declaration
Border-right-color?
Sets the color of the right border
Border-right-style?
Sets the style of the right border
Border-right-width?
Sets the width of the right border
Border-bottom?
Sets all bottom border properties in one declaration
Border-bottom-color?
Sets the color of the bottom border
Border-bottom-style?
Sets the style of the bottom border
Border-bottom-width?
Sets the width of the bottom border
Border-left?
Sets all the left border properties in one declaration
Border-left-color?
Sets the color of the left border
Border-left-style?
Sets the style of the left border
Border-left-width?
Sets the width of the left border
Border-color?
Sets the color of the four borders
Border-style?
Sets the style of the four borders
Outline?
Sets all the outline properties in one declaration
Outline-color?
Sets the color of an outline
Outline-style?
Sets the style of an outline
Outline-width
Sets the width of an outline
Width
Sets the width of an element
Height
Sets the height of an element
Min-width
Sets the minimum width of an element
Min-height
Sets the minimum height of an element
Max-width
Sets the maximum width of an element
Max-height
Sets the maximum height of an element
Font
Sets all the font properties in one declaration
Font-family
Specifies the font family for text
Font-size
Specifies the font size of text
Font-style
Specifies the font style of text
Font-weight
Specifies the weight of a font
Font-variant
Specifies whether or not a text should be displayed in a small-caps font
Margin?
Sets all the margin properties in one declaration
Margin-top
Sets the top margin of an element
Margin-right
Sets the right margin of an element
Margin-bottom
Sets the bottom margin of an element
Margin-left
Sets the left margin of an element
Padding
Sets all the padding properties in one declaration
Padding-top
Sets the top padding of an element
Padding-right
Sets the right padding of an element
Padding-bottom
Sets the bottom padding of an element
Padding-left
Sets the left padding of an element
Color
Sets the color of text
Letter-spacing
Increases or decreases the space between characters in a text
Line-height
Sets the line height
Text-align
Specifies the horizontal alignment of text
Text-decoration
Specifies the decoration added to text
Text-indent
Specifies the indentation of the first line in a text-block
Text-transfrom
Controls the capitalization of text
Veritcal-align
Sets the vertical alignment of an element
White-space
Specifies how white-space inside an element is handled
Word-spacing
Increases or decreases the space between words in a text
List-style
Sets all the properties for a list in one declaration
List-style-type
Specifies the type of list-item marker
List-style
Specifies an image as the list-item marker
List-style-position
Specifies if the list-item markers should appear inside or outside the content flow
Position
Specifies the type of positioning method used for an element (static, relative, absolute or fixed)
Left
Specifies the left position of a positioned element
Top
Specifies the top position of a positioned element
Right
Specifies the right position of a positioned element
Bottom
Specifies the bottom position of a positioned element
Float
Specifies whether or not a box should float
Clear
Specifies which sides of an element where other floating elements are not allowed
Overflow
Specifies what happens if content overflows an element's box
Visibility
Specifies whether or not an element is visible
Z-index
Sets the stack order of a positioned element
Display
Specifies how a certain HTML element should be displayed
Border-collapse
Specifies whether or not table borders should be collapsed
Border-spacing
Specifies the distance between the borders of adjacent cells
Caption-side
Specifies the placement of a table caption
Empty-cells
Specifies whether or not to display borders and background on empty cells in a table
Direction
Specifies the text direction/writing direction
Content
Used with the :before and :after pseudo-elements, to insert generated content
Quotes
Sets the type of quotation marks for embedded quotations
:link
Selects all unvisited links
:visited
Selects all visited links
:hover
Selects links on mouse over
:active
Selects the active link
:focus
Selects the input element which has focus
:first-letter
Selects the first letter of every <p> element
:first-line
Selects the first line of every <p> element
:first-child
Selects every <p> elements that is the first child of its parent
:before
Insert content before every <p> element
:after
Insert content after every <p> element
:language
Selects every <p> element with a lang attribute value starting with "it"
Author
Anonymous
ID
148033
Card Set
CSS Test
Description
css
Updated
4/17/2012, 2:58:09 AM
Show Answers
Home
Flashcards
Preview