-2
I want to take the scrool out of the page but when I put the position: Fixed it cuts the page and when I put the position: abosolute, gets an equal scrool on the page presented If anyone has the solution please answer me, thank you.
*{
margin: 0;
padding: 0;
box-sizing: border-box;
border: none;
}
.body {
min-height: 100vh;
display: flex;
width: 1920px;
height: 1080px;
position: fixed;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="teste pagina entrada color design.css">
<title>Document</title>
</head>
<body class="body">
<img class="Layer_1" src="file:///C:/projetos/Color%20design/Layer%201.png">
<img class="Logo_Branco" src="file:///C:/Users/Caio/Pictures/imagem%20color%20design/Logo%20branco.png">
<h1 class="OUR">OUR</h1>
<h1 class="COLORS">COLORS</h1>
</body>
</html>
If anyone has the solution please answer me, thank you
use percentage measurements, ever thought that not everyone has the monitor that supports this resolution? if using percentage will look good on any monitor/device
– Ricardo Pontual
is about an image?
– user60252
Ricardo Punctual thanks for the tip, already got
– Caio Medeiros