add char counter

This commit is contained in:
zyqunix 2025-04-05 23:46:45 +02:00
parent 9ed3ee790e
commit 825c90e3b1
No known key found for this signature in database
GPG key ID: 134A8DEEA83B80E6
3 changed files with 51 additions and 0 deletions

25
character/style.css Normal file
View file

@ -0,0 +1,25 @@
@import url(/global.css);
h1 {
font-size: 2rem;
margin-bottom: 30px;
}
textarea {
background: #1e1e1e;
border: 1px solid #444;
color: #f0f0f0;
padding: 12px;
border-radius: 8px;
font-size: 1rem;
width: 80%;
transition: border-color 0.2s;
outline: none;
resize: none;
}
#count {
margin-top: 10px;
font-size: 1.1rem;
}