Day 29: SASS and LESS

 SASS and LESS is site search on google to more information 

1. font-variant property in CSS

  • The font-variant property determines if a text should be shown in small capitals or not.     
  • Every lowercase character is changed into uppercase characters by using a small-caps font. But compared to the text's original capital characters, the converted uppercase letters have a smaller font size.

Syntax for font-variant : 

font-variant: value

Values :

  1. normal : It shows text in normal font. Font-variant is set to normal by default.   
  2. small-caps : It displays fonts in small caps.

Code :

Output:

2. CSS letter-spacing Property :

Character spacing in a text can be altered via the letter-spacing property.

     

      Syntax :

      letter-spacing: value;

      Values :

      • normal : defines the standard character spacing. Normal value is the default value for letter-spacing       
      • length :establishes a length that is used as the character spacing (negative values are also allowed).     
      • initial : returns this property's default setting.

      3. SASS :

      • Syntactically Awesome Stylesheet is referred to as Sass.     
      • Sass is a CSS extension.       
      • Sass saves time by minimizing CSS repetition.

      4. The float Property :

      • An element's floating behavior is defined via the CSS float attribute.     
      • The float property is used to format and position content, for letting an image float to the left of text within a container.       
      • One of the following values may be present for the float property:   
      • Right - Using float’s value as right, the element floats towards the right direction.   
      • Left - Using float’s value as left, the element floats towards the left direction.   
      • None - Using float’s value as none,, the element will not float. None is the default value for float property

      Comments

      Popular posts from this blog

      Day 9: CSS - Font Formate

      else-if condition in if-else statements: Concatenation in JavaScript :

      Day 27: Css Variable