CSS font-weight medium example.
in

CSS font-weight medium

In CSS, the range for property font-weight starts from value 100 to 900. To set the CSS font-weight medium you can specify the value of 500. Below are the syntax and examples:

Syntax

font-weight: numeric-values;

CSS font-weight medium Example:

The below CSS example set the paragraph (p tag) font-weight to medium.

p {
   font-weight: 500;
}

Read also:

Written by Lancy Joseph

A hardware and software engineer, having more than 20 years of experience in the IT industry. Likes to write to share the solutions with the people.

Leave a Reply

Your email address will not be published. Required fields are marked *