File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="pt-br ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < style >
7+ # container {
8+ background-image : url (imagens/target001.png);
9+ background-size : 100% 100% ;
10+ position : relative;
11+ height : 96vh ;
12+ background-color : purple;
13+ padding : 10px ;
14+ }
15+
16+ # conteudo {
17+ background-image : url (imagens/target001.png);
18+ background-size : 100% 100% ;
19+
20+ position : absolute;
21+ height : 200px ;
22+ width : 400px ;
23+ background-color : yellow;
24+
25+ left : 50% ;
26+ top : 50% ;
27+
28+ transform : translate (-50% , -50% );
29+ }
30+ </ style >
31+ < title > Alinhamento vertical</ title >
32+ </ head >
33+ < body >
34+ < section id ="container ">
35+ < article id ="conteudo ">
36+
37+ </ article >
38+ </ section >
39+ </ body >
40+ </ html >
You can’t perform that action at this time.
0 commit comments