Answers for "image to take full possible width in css"

CSS
0

how to cover full image in css

body {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
Posted by: Guest on March-03-2020
1

full width hd images javascript

var img = new Image();
img.onload = function() {
  alert(this.width + 'x' + this.height);
}
img.src = 'http://www.google.com/intl/en_ALL/images/logo.gif';
Posted by: Guest on March-04-2020

Code answers related to "image to take full possible width in css"

Browse Popular Code Answers by Language