Created
September 27, 2017 03:32
-
-
Save tianyk/4f4d6f2e42d998a83b3225f5f621277f to your computer and use it in GitHub Desktop.
// source https://jsbin.com/muyedif
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
<style id="jsbin-css"> | |
.container { | |
width: 100%; | |
border: 1px solid #cec; | |
margin: 10px; | |
} | |
.container .img { | |
width: 100%; | |
} | |
</style> | |
<div class="container"> | |
<img class="img" src="https://dummyimage.com/100x100/ededed/c1c2c9.png"> | |
</div> | |
<script id="jsbin-source-html" type="text/html"><div class="container"> | |
<img class="img" src="https://dummyimage.com/100x100/ededed/c1c2c9.png"> | |
</div> | |
</script> | |
<script id="jsbin-source-css" type="text/css">.container { | |
width: 100%; | |
border: 1px solid #cec; | |
margin: 10px; | |
} | |
.container .img { | |
width: 100%; | |
}</script> |
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
.container { | |
width: 100%; | |
border: 1px solid #cec; | |
margin: 10px; | |
} | |
.container .img { | |
width: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment