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;
}
html background image fit to screen
body {
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
HTML Image full screen width
<!DOCTYPE html>
<html>
<head>
<style>
body{ margin:0px }
div#middle > div{ float:left; width:100%; }
div#middle > div > div > img{ width:100%; }
</style>
</head>
<body>
<div id="middle">
<div>
<div>
<img src="example.jpg" alt="example">
</div>
</div>
</div>
</body>
</html>
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