Answers for "bold css property"

CSS
72

css bold text

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

css bold

/* 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: revert;
font-weight: unset;
Posted by: Guest on September-06-2021
9

css bold text

we can set text bold using css property named 'font-weight'
Syntax:
selector{
  font-weight: bold;
}
Posted by: Guest on April-16-2020

Browse Popular Code Answers by Language