Found 601 Articles for Front End Scripts

Usage of font-family property in CSS

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

113 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.          

Shorthand property to set the font with CSS

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

150 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.          

Increase or decrease the size of a font with CSS

Nikitha N
Updated on 30-Jan-2020 10:16:10

530 Views

The font-size property is used to increase or decrease the font size. 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.          

Usage of font-size property in CSS

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

119 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    

Increase or decrease how bold or light a font appears with CSS

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

242 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.    

Set the font variant with CSS

Ankitha Reddy
Updated on 30-Jul-2019 22:30:22

110 Views

To set the font variant, use the font-variant property. Set the font to small-caps and normal. You can try to run the following code to set the font-variant to small-caps with CSS − This text will be rendered as small caps

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 style with CSS

radhakrishna
Updated on 30-Jan-2020 09:22:11

200 Views

To set the font style, use the font-style property. Set the font to italic, normal and oblique.ExampleYou can try to run the following code to set the font-style to italic with CSS:                            Europe, Australia, South America are continents.          

Advertisements