Created
March 5, 2015 18:50
-
-
Save leompeters/e1445f64ca858895d65a to your computer and use it in GitHub Desktop.
Full expand images on web page.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 0; | |
} | |
#full > img { | |
display: block; | |
float: left; | |
width: 50vw; | |
height: 50vh; | |
object-fit: cover; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Full Width Images</title> | |
</head> | |
<body> | |
<div id="full"> | |
<img title="img1" alt="img1" src="img1.gif"> | |
<img title="img2" alt="img2" src="img2.gif"> | |
<img title="img3" alt="img3" src="img3.gif"> | |
<img title="img4" alt="img4" src="img4.gif"> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment