font style bold in css code example

Example 1: css bold text

.text {
	font-weight: bold;
}

Example 2: how bold text in css

p.normal {
  font-weight: normal;
}

p.thick {
  font-weight: bold;
}

p.thicker {
  font-weight: 900;
}

Example 3: css bold text

/* Keyword values */
font-weight: bold;

/* Keyword values relative to the parent */
font-weight: bolder;

/* Numeric keyword values */
font-weight: 700; // bold
font-weight: 800;
font-weight: 900;

Example 4: font. to be thinner css

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*/

Example 5: css font in bold

font-weight: bold;

Tags:

Css Example