Skip to content

Commit debb00c

Browse files
committed
ajuste tela
1 parent cfa24e3 commit debb00c

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

home.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,18 @@
99
margin: 0;
1010
padding: 0;
1111
}
12+
13+
body {
14+
width: 100vw;
15+
height: 100vh;
16+
background: url(imagens/background-computador.jpg) no-repeat center;
17+
background-size: cover;
18+
background-attachment: fixed;
19+
}
1220
</style>
1321
</head>
1422
<body>
15-
<img src="imagens/" alt="">
23+
24+
</body>
1625
</body>
1726
</html>

style.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ section#computador {
3333
}
3434

3535
iframe#tela {
36-
width: 410px;
37-
height: 266px;
38-
background-color: blue;
36+
width: 420px;
37+
height: 269px;
38+
background-size: cover;
39+
border-radius: 3%;
3940
position: relative;
40-
top: 30%;
41+
top: 29.3%;
4142
left: 50%;
4243
transform: translate(-50%, -50%);
4344
}

0 commit comments

Comments
 (0)