Found 598 Articles for Front End Scripts

How to set the color of a text with CSS

Srinivas Gorla
Updated on 30-Jan-2020 10:39:57

226 Views

To set the color of a text, use the color property.ExampleYou can try to run the following code to learn how to work with the color property in CSS:                            ANTARTICA is a continent          

Set the direction of a text with CSS

karthikeya Boyini
Updated on 30-Jan-2020 10:37:20

141 Views

The direction property is used to set the text direction. Possible values are ltr or rtl.ExampleYou can try to run the following code to set the text direction with CSS:                            This text will be renedered from right to left          

Set the font stretch of an element with CSS

Samual Sam
Updated on 30-Jan-2020 10:36:52

55 Views

To set the font-stretch of an element, use the font-stretch property. Possible values could be normal, wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded.                            If this doesn't appear to work, it is likely that your computer doesn't have a          condensed or expanded version of the font being used.          

Usage of font-variant property in CSS

Sreemaha
Updated on 30-Jan-2020 10:36:27

77 Views

The font-variant property is used to create a small-caps effect. Possible values are normal and small-caps.                            This text will be rendered as small caps          

Usage of font-weight property in CSS

Abhinaya
Updated on 30-Jan-2020 10:36:02

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

Font size adjust of an element with CSS

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

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

What are the advantages of CSS?

Ankitha Reddy
Updated on 28-Aug-2024 15:53:53

17K+ Views

CSS or Cascading Style Sheets is used to design the web pages, it helps web developers to control the layout and other visual aspects of the web pages. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used. In this article, we will be discussing various advatages of CSS Advantages of CSS Consistent Design: By using CSS, we can use same design across an entire website or on various web pages. This reduces ... Read More

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.          

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    

Usage of font-family property in CSS

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

168 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