body { width: 100%; height: 100%; border: none; margin: 0px; overflow: hidden; } img { width: auto; height: auto; min-width: 100%; min-height: 100%; }