CSS Flashcards
Direction
Specifies the text direction/ writing direction
Color
Sets 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-shadow
Specifies the shadow effect added to text
Text transform
Control the capitalization of text
Vertical-align
Sets the vertical alignment of an element
White-space
Specifies how white-space inside an element is handled
Words-spacing
Increases or decreases the space between words in a text
Blink value is not supported in…?
1.
2.
3.
Internet explorer
Chrome
Safari
Text decoration property
None Underline Overline Linethrough Blink Inherit
Direction Property
Direction of Text
Ltr=the writing direction is left to right
Rtl=the writing direction is right to left
Inherit=specifies that the value of the direction property should be inherited from the parent element
Serif
Times new roman
Georgia
San-serif
Arial
Verdana
Monospace
Courier New
Lucida Console
Set font size with pixels
Setting size with pixels
Font-size:40px
Links can be styled with any CSS property special for links are that they can be styled differently depending on what state they are in
4 Links
a: link
a: visited
a: hover
a: active
a:link
{color:#FF0000;}
Unvisited link
a:visited
{color:#00FF00;}
Visited link
a:hover
{color:#FF00FF;}
Mouse over link
a:active
{color:#0000FF;}
Selected link