first commit

This commit is contained in:
vitalii.litvinchuk
2026-08-01 07:42:04 +03:00
commit 666ec6ce6e
3 changed files with 316 additions and 0 deletions
+62
View File
@@ -0,0 +1,62 @@
body,
html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
font-family: Arial, sans-serif;
background-color: #f4f4f9;
}
#controls {
margin-top: 30px;
z-index: 10;
display: flex;
gap: 10px;
}
#controls input,
#controls button {
padding: 8px 16px;
font-size: 16px;
cursor: pointer;
}
#container {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
}
.letter {
position: absolute;
font-size: 2.5rem;
font-weight: bold;
cursor: grab;
user-select: none;
pointer-events: auto;
padding: 5px;
color: #333;
}
.letter:active {
cursor: grabbing;
}
.letter.selected {
color: #ff4757;
}
#selectionBox {
position: absolute;
border: 2px dashed #007bff;
background-color: rgba(0, 123, 255, 0.1);
pointer-events: none;
z-index: 5;
}