Posts

Showing posts from March, 2021
  CSS Properties CSS has so many predefined properties. CSS properties can be used to apply a style on the web page. Some of them are described as follow. Text Properties: we can use these properties on text data of web page Property Description Values color Sets the color of a text RGB, hex, keyword line-height Sets the distance between lines normal,  number, length, % letter-spacing Increase or decrease the space between characters normal,  length text-align Aligns the text in an element left, right, center, justify text-decoration Adds decoration to text none, underline, overline, line-through text-indent Indents the first line of text in an element length, % text-transform Controls the letters in an element none, capitalize, uppercase, lowercase Below example will explain , How to use these properties? e.g: p { color: yellow; text-decoration:underline; text-transform-capitalize; } List Properties Property Description Values list-style Sets all the properties for a lis...