Glubase - share your knowledge

All / Computers / Programming / CSS

Change category:



Search results
What is CSS?
CSS stands for Cascading Style Sheet and is used to design webpages. You can set up different styles for each HTML element. In a style you can change a lot of things like fontsize, color, backgroundcolor, color when mouse is over, padding a ...

CSS Command list reference
Font properties CSS1/2 font Values: [ <font-style> || <font-variant> ...

What is cascade?
Cascade is a way to define how important a styling rule is in order to sort out rules where conflicting rules apply to the same selector. The following example shows how to set the importance of a style: P {font-size: 10px ! important} /* ...

How do you comment lines in cascading style sheets?
A comment in a CSS uses /* to start a comment and */ to end it. ...


...

font-family
The font-family property is a prioritized list of font family names and/or generic family names for HTML elements. The browser will use the first font in this list that is installed on the client machine. Note: If a font name contains a sp ...

font-size
The font-size property sets the size of the font. Values Values Description xx-small Extra extra small. x-small ...

font-style
The font-style property sets the style of the font and can be either normal, italic or oblique. Values Values Description normal Normal font. ...

font-variant
The font-variant property sets the variant of the font. Small-caps displays capital letters slightly larger than lower-case letters. Values normal | small-caps ...

font-weight
The font-weight property sets the boldness of the text. Note that many fonts don't have 9 possible display weights. Values normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 ...

background-attachment
The CSS background-attachment property defines if the background should scroll with the content of the document or be fixed. Values Value Description ...

background-color
The background-color property defines the background color of an element. Values Value Description Transparent Default va ...

background-image
The background-image property defines the background image that will show behind the content of a region on the page. Values Value Description none T ...

background-position
The background-position property defines the position of the background image. Values Value Description top left top center top right ...

background-repeat
The background-repeat property specifies if the background image is repeated (in x, y or both directions). Values Value Description repeat (default) ...

letter-spacing
The letter-spacing property sets the additional space between characters. Values normal | <length> ...

line-height
The line-height property sets the height of a line. Values normal | <number> | <length> | <percentage> ...

text-align
The text-align property sets the alignment of the text. Values left | right | center | justify ...

text-decoration
The text-decoration property defines if the text should be underline, overline, line-through, blink or none. Values none || underline || overline || line-through || blink ...

text-indent
The text-indent property sets the indentation of the text, meaning the size of the empty space before the text. Values <length> | <percentage ...

Next