<!--.:◂◀▸v▶¤◀v∫∫v▶¤◀v∫∫‡####‡‡‡‡###‡‡‡###‡‡####‡∫∫v▶¤◀v∫∫v▶¤◀v◂▶▸:.
| |
| Filename : MR_text-transform.html |
| Label : Basics |
| Author : Maik Reinke |
| Size : 2.248 bytes (4 KB on disk) |
| Created : 02. February 2024 at 17:04 |
| |
::◂◀▸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>text-transfor</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 all characters as capital letters */
text-transform: uppercase;
}
.class-2 {
/* defines all characters as lower case letters */
text-transform: lowercase;
}
.class-3 {
/* defines the first letter of a word is capitalized */
text-transform: capitalize;
}
.class-4 {
/* defines all characters are displayed in a square box that corresponds to the size of the square */
text-transform: full-width;
}
</style>
</head>
<body>
<div>
<p class="class-1">text-transform<br>uppercase</p>
<p class="class-2">text-transform<br>lowercase</p>
<p class="class-3">text-transform<br>capitalize</p>
<p class="class-4">text-transform<br>full-width</p>
</div>
</body>
</html>