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 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>
full size img
.largeartwork {
width: 300px;
height: 300px;
border: 3px solid black;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
}
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