how to cover full image in css
body {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
how to cover full image in css
body {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
make background image full width
html {
height: 100%;
}
body {
color: #999;
background: url('../images/background/main_bg.jpg') no-repeat center center fixed;
font-family: 'Roboto', sans-serif;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
how to set a full size background image in html
<head>
<style>
#example1{
border: 2px solid black;
padding: 100px;
background: url(mountain.jpg);
background-repeat: no-repeat;
background-size: 100% 100%;
}
</style>
</head>
<body>
<div id="example1">
</div>
</body>
bootstrap create full screen background image
.wrapper{background: url('/assets/64531/green_suburb.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us