Answers for "font width"

71

css bold text

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

font size css

.class {
	font-size: 12px;
}
Posted by: Guest on February-15-2020
20

html font size

<span style="font-size:20px;"></span>
Posted by: Guest on May-19-2020
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
0

font size css

/* <absolute-size> values */
font-size: xx-small;
font-size: x-small;
font-size: small;
font-size: medium;
font-size: large;
font-size: x-large;
font-size: xx-large;
font-size: xxx-large;

/* <relative-size> values */
font-size: smaller;
font-size: larger;

/* <length> values */
font-size: 12px;
font-size: 0.8em;

/* <percentage> values */
font-size: 80%;

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

font size css

/* you can set the font size using font-size: and a number followed by px */

.class {
  font-size: 60px;
}
Posted by: Guest on December-15-2020

Browse Popular Code Answers by Language