Clarke CSS 300 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Scies circulaires Clarke CSS 300. CSS Properties: An Introduction Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 3
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
1
CSS Properties: An Introduction
Web Design 1
FONT AND TEXT PROPERTIES
Property Name Description Possible Values
font-family Species the font family for text family-name (specify) or generic-family~ [serif, sans-
serif, cursive, fantasy, monospace]
font-style Species the font style for text normal | italic | oblique
font-weight Species the weight of a font normal | bold | bolder | lighter | 100 | 200 | 300 | 400 |
500 | 600 | 700 | 800 | 900
font-size Species the font size of text absolute-size | relative-size | length | percentage
font-variant Species whether or not a text
should be displayed in a small-caps
font
normal | small-caps
text-decoration Species the decoration added to
text
none | underline | overline | line-through | blink
text-transform Controls the capitalization of text none | capitalize | uppercase | lowercase
text-align Species the horizontal alignment of
text
left | right | center | justify
text-indent Species the indentation of the rst
line in a text-block
length | percentage
text-transform Controls the capitalization of
text
none | capitalize | lowercase | uppercase | inherit
letter-spacing Increases or decreases the space
between characters in a text
length | normal | inherit
word-spacing Increases or decreases the space
between words in a text
length | normal | inherit
line-height Sets the line height normal | number | length | percentage
This is not an exhaustive list of CSS properties, but it covers the ones with which we will work this semester.
CSS SYNTAX
The CSS syntax is made up of three parts: a selector, a property and a value:
selector {property:value;}
If the value is multiple words, put quotes around the value:
p {font-family:"sans serif";}
If you want to specify more than one property, you must separate each property with a semicolon. The exam-
ple below shows how to dene a center aligned paragraph, with a red text color:
p {text-align:center;
color:red;}
End each style rule with a semi-colon.
Vue de la page 0
1 2 3

Résumé du contenu

Page 1 - CSS SYNTAX

1CSS Properties: An IntroductionWeb Design 1FONT AND TEXT PROPERTIESProperty Name Description Possible Valuesfont-family Species the font family fo

Page 2

2CSS Properties: An IntroductionWeb Design 1BOX PROPERTIESProperty Name Description Possible Valuesmargin Sets all the margin properties in one decla

Page 3

3CSS Properties: An IntroductionWeb Design 1POSITION Property Name Description Possible Valuesposition Species the type of positioning for an elemen

Commentaires sur ces manuels

Pas de commentaire