<!--.:◂◀▸v▶¤◀v∫∫v▶¤◀v∫∫‡####‡‡‡‡###‡‡‡###‡‡####‡∫∫v▶¤◀v∫∫v▶¤◀v◂▶▸:. | | | Filename : TD_word-spacing.html | | Label : Basics | | Author : Tessa Sophie Dürbusch | | Size : 1.915 bytes (4 KB on disk) | | Created : 06. February 2024 at 14:23 | | | ::◂◀▸v▶¤◀v∫∫v▶¤‡‡##‡‡‡‡‡‡‡‡###‡‡###‡‡‡‡##‡‡‡‡##‡‡¤◀v∫∫v▶¤◀v◂▶▸::--> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>word-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 { /* defines the default distance */ word-spacing: normal; } .class-2 { /* defines a distance of 50px */ word-spacing: 50px; } .class-3 { /* defines a distance of -50px; the - shrinkes the distance */ word-spacing: -50px; } .class-4 { /* defines a distance of 10cm; cm also works as a unit */ word-spacing: 10cm; } </style> </head> <body> <p class="class-1">normal word-spacing</p> <p class="class-2">50px word-spacing</p> <p class="class-3">-50px word-spacing</p> <p class="class-4">10cm word-spacing</p> </body> </html>