.text {
font-weight: bold;
}
p.normal {
font-weight: normal;
}
p.thick {
font-weight: bold;
}
p.thicker {
font-weight: 900;
}
/* 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;
/* 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;
we can set text bold using css property named 'font-weight'
Syntax:
selector{
font-weight: bold;
}
font-weight: normal|bold|bolder|lighter|number|initial|inherit;
font-weight: 700;
.class {
font-weight: bold;
}
.mytext {
font-weight: bold;
}
p{
font-weight: bold;
}
.selector {
font-weight: bold;
}
Deze tekst <b>wordt vetgedrukt</b> en dit niet.
Code Example |
---|
Css :: how to remove default padding of div |
Css :: vertical divider between my flexbox |
Css :: div center |
Css :: simple font-face mixin scss |
Css :: css scale |
Css :: input backgound color |
Css :: crop image in div |
Css :: visited links do not change color |
Css :: responsive flexbox |
Css :: vsc css autocomplet |
Css :: what is em in css |
Css :: css pass param to class |
Css :: css witdh |
Css :: box shadow 2 sides only |
Css :: css focus |
Css :: center div using flex |
Css :: animate.css |
Css :: working with tailwind css on your react build |
Css :: css accent |
Css :: css selectors attribute ends with |
Css :: glass style css |
Css :: animation background css |
Css :: back button css |
Css :: control one swiper with other |
Css :: focus on input change label color |
Css :: css box sizing |
Css :: how to display a header in the center of the column in css |
Css :: bootstrap grid only css npm install |
Css :: highchart add font family |
Css :: background-image url( background.png ) |