<!--.:◂◀▸v▶¤◀v∫∫v▶¤◀v∫∫‡####‡‡‡‡###‡‡‡###‡‡####‡∫∫v▶¤◀v∫∫v▶¤◀v◂▶▸:. | | | Filename : LF_letterspacing.html | | Label : Basics | | Author : Louisa Fortwengel | | Size : 2.380 bytes (4 KB on disk) | | Created : 07. February 2024 at 10:02 | | | ::◂◀▸v▶¤◀v∫∫v▶¤‡‡##‡‡‡‡‡‡‡‡###‡‡###‡‡‡‡##‡‡‡‡##‡‡¤◀v∫∫v▶¤◀v◂▶▸::--> <!DOCTYPE html> <html lang="de"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>letter-spacing</title> <style> @font-face { font-family: Konsole; src: url(../_fonts/Konsolev1.1-VF.ttf); } body { font-family: Konsole; font-size: 6vh; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; height: 100vh; } .class-1 { /* sets the letter spacing to -10px; the - shrinkes the distance */ letter-spacing: -10px; } .class-2 { /* sets the letter spacing to -5px; the - shrinkes the distance */ letter-spacing: -5px; } .class-3 { /* sets the letter spacing to default */ letter-spacing: 0px; } .class-4 { /* sets the letter spacing to 5px */ letter-spacing: 5px; } .class-5 { /* sets the letter spacing to 10px */ letter-spacing: 10px; } </style> </head> <body> <div> <p class="class-3">letter spacing 0px </p> <p class="class-2">letter spacing -5px </p> <p class="class-5">letter spacing 10px </p> <p class="class-1">letter spacing -10px </p> <p class="class-4">letter spacing 5px </p> </div> </body> </html>