-
Notifications
You must be signed in to change notification settings - Fork 0
/
Aula 7 - Formularios com HTML
137 lines (117 loc) · 2.35 KB
/
Aula 7 - Formularios com 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
------------HTML--------------
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cadastro - Rede Social</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="form-container">
<h2> #TODO </h2>
<h6> #TODO </h6> </br>
<h3>Cadastre-se</h3>
<form>
<input type="#todo" placeholder="#todo" required>
<button type="#todo">#todo</button>
<div class="social-login">
<button class="google">Continuar com o Google</button>
<button class="facebook">Continuar com o Facebook</button>
</div>
</form>
</div>
</div>
</body>
</html>
---------------css-----------------
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
background-image: url("#todo");
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
height: 125vh;
}
.container {
background: rgba(255, 255, 255, 0.6);
padding: 45px;
border-radius: 25px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.form-container {
text-align: center;
margin-bottom: 20px;
font-size: 22px;
color: #333;
}
h6 {
text-align: center;
color: #333;
margin-bottom: 10px;
}
h4 {
text-align: center;
margin-bottom: 10px;
color: #333;
}
form {
display: flex;
flex-direction: column;
}
form input {
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 30px;
font-size: 16px;
}
form button {
padding: 10px;
border: none;
border-radius: 30px;
background-color: #4caf50;
color: white;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
form button:hover {
background-color: #todo;
}
.social-login {
display: flex;
flex-direction: column;
margin-top: 20px;
}
.social-login button {
padding: 10px;
margin-top: 10px;
border: none;
border-radius: 30px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.social-login .google {
background-color: #todo;
color: #todo;
}
.social-login .facebook {
background-color: #todo;
color: #todo;
}
.social-login .google:hover {
background-color: #todo;
}
.social-login .facebook:hover {
background-color: #todo;
}