Search
 
SCRIPT & CODE EXAMPLE
 

CSS

letter spacing css

div{
   letter-spacing: 2px; 
}  
Comment

letter spacing in css

selector_name{
   letter-spacing: 1px; 
} 
Comment

letter spacing css

<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="UTF-8" />
      <title>Letter spacing in CSS</title>

      <style>
         .normal {
            letter-spacing: normal;
         }
         .em-wide {
            letter-spacing: 0.4em;
         }
         .em-wider {
            letter-spacing: 1em;
         }
         .em-tight {
            letter-spacing: -0.05em;
         }
         .px-wide {
            letter-spacing: 6px;
         }
      </style>
   </head>
   <body>
      <p class="normal">letter spacing</p>
      <p class="em-wide">letter spacing</p>
      <p class="em-wider">letter spacing</p>
      <p class="em-tight">letter spacing</p>
      <p class="px-wide">letter spacing</p>
   </body>
</html>

<!-- /* Keyword value */
   letter-spacing: normal;

   /* <length> values */
   letter-spacing: 0.3em;
   letter-spacing: 3px;
   letter-spacing: .3px;

   /* Global values */
   letter-spacing: inherit;
   letter-spacing: initial;
   letter-spacing: unset; 
-->
Comment

letter spacing text

  letter-spacing: 7px;
Comment

PREVIOUS NEXT
Code Example
Css :: css space between elements 
Css :: how to import fonts css 
Css :: css image filter black and white 
Css :: change scrollbar width and height in css 
Css :: how to put element in center in html 
Css :: css change if mobile 
Css :: inline style background image 
Css :: gatsby hide scrollbar 
Css :: remove border select css 
Css :: css ecken abrunden 
Css :: bg color css 
Css :: remove bootstrap button outline 
Css :: css rounded corners at top only 
Css :: bootstrap text truncate 
Css :: center grid 
Css :: css prevent line break 
Css :: add background image and color css 
Css :: centrer un élément absolute 
Css :: css safari remove scrollbar 
Css :: remove outline btn 
Css :: css margin bottom 
Css :: how to get the length of element with display none 
Css :: css fade in and stay 
Css :: css vertical align 
Css :: css blur background behind div 
Css :: background color transparent 
Css :: transition delay css 
Css :: html button scale to fit text 
Css :: center text in div 
Css :: Modify blink class in CSS 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =