Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
40 changes: 40 additions & 0 deletions demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Reseter.css Demo</title>
<link rel="stylesheet" href="reseter.css" />
<style>
body { padding: 2rem; font-family: sans-serif; }
section { margin-bottom: 2rem; }
h2 { border-bottom: 1px solid #ccc; padding-bottom: 0.3rem; }
</style>
</head>
<body>
<h1>Reseter.css Demo</h1>

<section>
<h2>Listas</h2>
<ul><li>Item 1</li><li>Item 2</li></ul>
<ol><li>Item A</li><li>Item B</li></ol>
</section>

<section>
<h2>Formulário</h2>
<form>
<label>Nome: <input type="text" /></label><br><br>
<label>Email: <input type="email" /></label><br><br>
<button>Enviar</button>
</form>
</section>

<section>
<h2>Botões e Tipografia</h2>
<button>Clique Aqui</button>
<p>Texto comum</p>
<strong>Texto em negrito</strong>
<em>Texto em itálico</em>
</section>
</body>
</html>
10 changes: 10 additions & 0 deletions src/components/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,13 @@
:where(p + p) {
margin-top: 1rem;
}
// Acessibilidade: reduz animações para usuários que preferem menos movimento
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
scroll-behavior: auto !important;
}
}