Answers for "html font weight"

CSS
72

css bold text

.text {
	font-weight: bold;
}
Posted by: Guest on February-22-2020
2

css bold weight

/* key word "lighter", "normal", "bold", or "bolder" */ 
.normal {
  font-weight: normal;
}

/* number between 100 and 900 */
.heavy {
  font-weight: 900;
}
Posted by: Guest on July-26-2020
0

font weight css

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

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

/* Numeric keyword values */
font-weight: 100;
font-weight: 200;
font-weight: 300;
font-weight: 400; // normal
font-weight: 500;
font-weight: 600;
font-weight: 700; // bold
font-weight: 800;
font-weight: 900;

/* Global values */
font-weight: inherit;
font-weight: initial;
font-weight: unset;
Posted by: Guest on February-24-2021
1

Font weight css

/*

Thin, Hairline				100
Extra Light, Ultra Light	200
Light						300
Normal, Regular				400
Medium						500
Semi Bold, 					600
Bold						700
Extra Bold, Ultra Bold		800
Black, Heavy				900

*/

.myclass {
 font-weight: normal; /* 400 */
}

.myOtherClass {
 font-weight: 700;  /* Bold */
}

/* You can Use this List to see all the different Types */
/* Make sure you have the Font Files Downloaded and Embedded */
Posted by: Guest on December-01-2020
0

font weightcss

p{
	font-weight: bold;
}
Posted by: Guest on January-17-2021

Browse Popular Code Answers by Language