I'm facing an issue where all my elements move when I resize my browser, and I cannot figure out why.
How can I ensure that they stay in their respective positions even when the browser is resized? Is there a CSS solution for this?
Thank you!
body {
background-color: #c3ced4;
}
.select_dev {
width: 380px;
height: 850px;
background-color: #142431;
position: absolute;
left: 0;
top: 0;
}
.excel_preview {
position: absolute;
top: 70px;
right: 40px;
min-width: 1450px;
min-height: 720px;
background-color: white;
border-radius: 8px;
}
<!DOCTYPE html>