Found 598 Articles for Front End Scripts

How to set the whitespace between text in CSS?

vanithasree
Updated on 31-Jan-2020 06:37:37

231 Views

To set the whitespace between text, use the white-space property. Possible values are normal, pre, nowrap.ExampleYou can try to run the following code to set the whitespace between text in CSS:                            This text has a line break and the white-space pre setting tells the browser to honor          it just like the HTML pre tag.    

How to set the cases for a text in CSS?

Samual Sam
Updated on 31-Jan-2020 06:27:42

213 Views

Use the text-transform property to set the cases for a text. Possible values are none, capitalize, uppercase, lowercase.ExampleYou can try to run the following code to set the cases for a text:                            This will be capitalized                      This will be in uppercase                      This will be in lowercase          

Set the text shadow around a text with CSS

seetha
Updated on 31-Jan-2020 06:26:11

168 Views

The text-shadow property is used to set the text shadow around a text.ExampleYou can try to run the following code to implement text-shadow property:                            Indian is a country in continent Asia.          

Usage of color property in CSS

Ramu Prasad
Updated on 31-Jan-2020 06:25:32

158 Views

The color property is used to set the color of text. You can try to run the following code to learn how to work with the color property in CSS:Example                            This text will be written in blue.          

Control the flow and formatting of text with CSS

Lakshmi Srinivas
Updated on 31-Jan-2020 06:24:57

357 Views

The white-space property is used to control the flow and formatting of text.ExampleYou can try to run the following code to implement white-space property to control the flow of text:                            This text has a line break and the white-space pre setting tells the browser to honor          it just like the HTML pre tag.    

Convert text to uppercase with CSS

Prabhas
Updated on 31-Jan-2020 06:24:09

2K+ Views

To convert text to uppercase with CSS, use the text-transform property with value uppercase.ExampleYou can try to run the following code to convert text to uppercase:                   Normal Text                Normal Text! This will be in uppercase!          

Usage of text-shadow property in CSS

karthikeya Boyini
Updated on 31-Jan-2020 06:23:35

78 Views

The text-shadow property is used to set the text shadow around a text. You can try to run the following code to set the text-shadow property:Example                            If your browser supports the CSS text-shadow property, this text will have a red shadow.          

Usage of white-space property in CSS

radhakrishna
Updated on 31-Jan-2020 06:22:55

88 Views

The white-space property is used to control the flow and formatting of text.ExampleYou can try to run the following code to implement white-space property:                            This text has a line break and the white-space pre setting tells the browser to honor          it just like the HTML pre tag.    

Capitalize text with CSS

V Jyothi
Updated on 31-Jan-2020 06:22:15

1K+ Views

To capitalize text with CSS, use the capitalize property. You can try to run the following code to capitalize text:                            India          

Convert text to lowercase with CSS

Samual Sam
Updated on 11-Sep-2024 14:40:50

4K+ Views

To convert text to lowercase with CSS, we will be using the lowercase value of text-transform property. Example In this example, we are using text-transform property and displaying the result as before and after the conversion using p tag. #lcase{ text-transform:lowercase; } Convert Text ... Read More

Advertisements