forked from tainasimoes/crocancias
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (128 loc) · 4.48 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width:device-width, initial-scale=1.0" />
<meta name="author" content="Tainá Simões">
<meta name="description" content="">
<meta name="keywords" content="">
<meta property="og:title" content="">
<meta property="og:type" content="website">
<meta property="og:description" content="">
<title>Aula de crocância</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<header>
<h1>Crocâncias</h1>
<nav>
<a href="#botoes">botões</a>
<a href="#cards">cards</a>
<a href="#cursor">cursor</a>
<a href="#load">load</a>
<a href="#mouse">mouse</a>
</nav>
</header>
<main>
<section id="botoes">
<h2>Botões</h2>
<p>hover de botões: transição, deslocamento e deformação</p>
<div class="canvas">
<article>
<button class="btn transition"><span>enviar</span></button>
</article>
<article>
<button class="btn move"><span>download</span></button>
</article>
<article>
<button class="btn form"><span>chat</span></button>
</article>
</div>
</section>
<section id="cards">
<h2>Cards</h2>
<p>https://cubic-bezier.com/#.17,.67,.83,.67 | https://easings.net/</p>
<div class="canvas">
<article>
<div class="card transition">
<figure style="background-image: url(assets/hidecat.png);"></figure>
<div class="container">
<h3>Nome do projeto</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
</div>
</article>
<article>
<div class="card shadow">
<figure></figure>
<div class="container">
<span class="icon">🍿</span>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
</div>
</article>
<article class="flip">
<div class="card flip-inner">
<div class="flip-front">
<img src="assets/hidecat.png" alt="cat" />
</div>
<div class="flip-back"></div>
</div>
</article>
</div>
</section>
<section id="cursor">
<h2>Cursor</h2>
<p>Troca de cursor por emoji ou imagem</p>
<div class="canvas">
<article class="unicorn">
<button class="btn">unicórnio</button>
</article>
<article class="image">
<button class="btn">gatinho</button>
</article>
</div>
</section>
<section id="load">
<h2>Load</h2>
<p>https://loading.io/css/</p>
<div class="canvas">
<article>
<div class="loader spin"></div>
</article>
<article>
<div class="loader spin2"></div>
</article>
<article>
<div class="loader spin3"></div>
</article>
</div>
</section>
<section id="mouse">
<h2>Mouse events</h2>
<p>onmousedown | onmouseup | onmouseenter | onmouseleave</p>
<div class="canvas">
<article
class="mouse"
onmousedown="this.classList.add('down')"
onmouseup="this.classList.remove('down')"
onmouseenter="this.classList.add('hover')"
onmouseleave="this.classList.remove('hover')"
></article>
<article class="mouse">
<div class="toggle">
<button class="sun" onclick="this.parentElement.classList.remove('darkmode')"></button>
<button class="moon" onclick="this.parentElement.classList.add('darkmode')"></button>
<span class="toggle-icon"></span>
</div>
</article>
</div>
</section>
</main>
<footer>
<p>©2021 Todos os direitos reservados</p>
</footer>
</body>
</html>