Skip to content

Commit

Permalink
folha
Browse files Browse the repository at this point in the history
  • Loading branch information
semm00 committed Feb 5, 2025
1 parent 71c2294 commit 3a12b2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 3 additions & 2 deletions www/Folha.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ <h1>Folha de Redação</h1>
27
28
29
30</pre>
30
</pre>
</div>
<textarea class="area" rows="31" placeholder="Escreva sua redação aqui..." oninput="limitLines(this, 30)"></textarea>
<textarea class="area" rows="31" placeholder="Escreva sua redação aqui..." oninput="limitLines(this, 31)"></textarea>
</div>
<script>
function limitLines(textarea, maxLines) {
Expand Down
7 changes: 6 additions & 1 deletion www/css/folha.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ header h1 {
white 29px,
#ccc 30px
);
border: 1px solid #ccc;
border: 2px solid #add8e6; /* Cor da borda azul */
resize: none; /* Desativa o redimensionamento */
overflow: hidden; /* Evita rolagem */
}

.area:focus {
border-color: #add8e6; /* Mantém a cor da borda azul quando em foco */
outline: none; /* Remove o contorno padrão */
}

0 comments on commit 3a12b2a

Please sign in to comment.