“poids de la police” Réponses codées

CSS-poids de police

/* Valeurs avec un mot-clé */
font-weight: normal;
font-weight: bold;

/* Valeurs relatives à l'élément parent */
font-weight: lighter;
font-weight: bolder;

/* Valeurs numériques */
font-weight: 1;
font-weight: 100;
font-weight: 100.6;
font-weight: 123;
font-weight: 200;
font-weight: 300;
font-weight: 321;
font-weight: 400;
font-weight: 500;
font-weight: 600;
font-weight: 700;
font-weight: 800;
font-weight: 900;
font-weight: 1000;

/* Valeurs globales */
font-weight: inherit;
font-weight: initial;
font-weight: unset;
Victor Grk

Police de caractère. Pour être CSS plus mince

font-weight: 200; /*100 200 300 400 500 600 700 800 900 
					Defines from thin to thick characters. 
					400 is the same as normal, 
					and 700 is the same as bold*/
PassionFruit2389

Texte audacieux CSS

we can set text bold using css property named 'font-weight'
Syntax:
selector{
  font-weight: bold;
}
Ankur

poids de la police

normal -> The default, defines what is considered the weight of the normal 
		  characters.	
bold -> Defines thick characters than normal ones
bolder -> Defines thicker characters than normal ones
lighter -> Defines lighter characters than normal ones
[100, 200, 300, 400, 500, 600, 700, 800, 900] -> Goes from thin to thick 
		characters.
        Where 400 is the same as normal.
        700 is the same as bold.
        900 the same as bolder.
initial -> Sets this property to its default value.
inherit	-> Inherits this property from its parent element.
Bright Bug

poids de la police

font-weight: normal; /*equals font-weight: 400; */
font-weight: bold; /*eq font-weight: 700; */

font-weight: 100;
		   : 200
		   : 100n, n = 1...9

/* Relative to the parent */
font-weight: lighter;
font-weight: bolder;
Tough Tortoise

poids de la police

font-weight: 375;

font-variation-settings: 'wght' 375;
Worried Wallaby

Réponses similaires à “poids de la police”

Questions similaires à “poids de la police”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code