character

This commit is contained in:
zyqunix 2025-06-12 10:54:26 +02:00
parent 22ad8f2cdb
commit 56c754a592
2 changed files with 7 additions and 3 deletions

View file

@ -10,7 +10,7 @@
</head>
<body>
<h1>Character Counter</h1>
<div class="card shadow">
<div class="cards shadow">
<textarea id="input" placeholder="Enter Text" rows="10" cols="60"></textarea>
<div id="count">0</div>
</div>

View file

@ -1,13 +1,17 @@
@import url(/global.css);
.cards {
text-align: center;
}
h1 {
font-size: 2rem;
margin-bottom: 30px;
}
textarea {
background: #1e1e1e;
border: 1px solid #444;
background: var(--surface0);
border: 1px solid var(--surface1);
color: #f0f0f0;
padding: 12px;
border-radius: 8px;