In the last article, we learned about various ways to customise text using CSS and in today's article, we are going to continue it.
Let's begin...
That's all for today. In the next part, we are going to study about changing fonts of text using CSS.
Till the #keepCoding.
Let's begin...
Text Indentation
The text-indent Property is used to make the indentation for the first line in the paragraph. It is also used when writing code in languages having strict indentation rules like python. Value of indentation can be expressed in any valid length units like px, em or percentages.Letter Spacing
The letter-spacing is used to adjust the density of letters in the text, where positive values make letters with more spacing and negative values reduce space between characters.Line height
The line-height property is used to describe space between lines in the text. The default line-height value is 1.Text Direction
The direction property is used to change direction in which text is written on the screen. The values supported are ltr (left to right) and rtl (right to left) with default as ltr.Word Spacing
Just like letter-spacing for letters we can use word-spacing for spacing between words.Text Shadow
The text-shadow property is used to find the shadow of text. The 3 values required are the position of horizontal shadow, the position of the vertical shadow and color of the shadow, respectively.That's all for today. In the next part, we are going to study about changing fonts of text using CSS.
Till the #keepCoding.