Current File : /home/tradevaly/new.tradevaly.com.bd/fresh/web/style.css |
/*
html,
body {
height: 100%;
width: 100%;
background-color: #FFFFFF;
}
.center {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%)
}
*/
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
background-color: white;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
min-height: 100vh;
}
.contain {
display:block;
width:100%; height:100%;
object-fit: contain;
}
.stretch {
display:block;
width:100%; height:100%;
}
.cover {
display:block;
width:100%; height:100%;
object-fit: cover;
}
@media (prefers-color-scheme: dark) {
body {
margin:0;
height:100%;
background: #FFFFFF;
background-image: url("img/dark-background.png");
background-size: 100% 100%;
}
}