Font Size Adjust of an Element with CSS

Giri Raju
Updated on 30-Jan-2020 10:35:27

236 Views

This property enables you to adjust the x-height to make fonts more legible. Possible value could be any number.Example                            Asia is a continent.          

Set the Font Family with CSS

vanithasree
Updated on 30-Jan-2020 10:34:23

462 Views

The font-family property is used to change the face of a font. Possible value could be any font family name.                            This text is rendered in either georgia, garamond, or the default serif font          depending on which font you have at your system.          

Usage of Font Size Property in CSS

usharani
Updated on 30-Jan-2020 10:22:35

181 Views

The font-size property is used to increase or decrease the size of a font. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixels or in %.                   This font size is 15 pixels       This font size is small       This font size is large    

Set the Font Weight with CSS

varun
Updated on 30-Jan-2020 10:21:39

205 Views

The font-weight property is used to increase or decrease how bold or light a font appears. The font-weight property provides the functionality to specify how bold a font is. Possible values could be normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900.                   This font is bold.       This font is bolder.       This font is 500 weight.    

Usage of Font Property in CSS

Srinivas Gorla
Updated on 30-Jan-2020 10:19:44

106 Views

The font property is used as shorthand to specify a number of other font properties, such as font family, size, style, etc.ExampleYou can try to run the following code to learn how to work with font property:                            Applying all the properties on the text at once.          

Adjust Font Weight with CSS

Abhinanda Shri
Updated on 30-Jan-2020 10:19:08

389 Views

The font-weight property provides the functionality to specify how bold a font is. Possible values could be normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900.                   This font is bold.       This font is bolder.       This font is 500 weight.    

Usage of Font Style Property in CSS

Giri Raju
Updated on 30-Jan-2020 10:18:40

88 Views

The font-style property is used to make a font italic or oblique. You can try to run the following code to set the font-style property:                            This text will be rendered in italic style          

Set the Font Size with CSS

Sravani S
Updated on 30-Jan-2020 10:18:12

317 Views

The font-size property is used to increase or decrease the size of a font. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixels or in %.                   This font size is 10 pixels       This font size is small       This font size is large    

Shorthand Property to Set the Font with CSS

Priya Pallavi
Updated on 30-Jan-2020 10:17:39

247 Views

The font property is used as shorthand to specify the number of other font properties, such as font family, size, style, etc.ExampleYou can try to run the following code to learn how to work with font property:                            Applying all the properties on the text at once.          

Usage of Font Family Property in CSS

seetha
Updated on 30-Jan-2020 10:16:40

186 Views

The font-family property is used to change the face of a font. Possible value could be any font family name.                            This text is rendered in either georgia, garamond, or the default serif font          depending on which font you have at your system.          

Advertisements