Created
January 5, 2016 16:41
-
-
Save anonymous/1e89c59f2c40d195acab to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/jekubovide
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.title { | |
color: red; | |
font-size: 50px; | |
} | |
a > img { | |
height: 100px; | |
border: 4px solid black; | |
} | |
// OR | |
#main-image { | |
height: 100px; | |
border: 4px solid black; | |
} | |
</style> | |
</head> | |
<body> | |
<h1 class="title">My Title</h1> | |
<a href="https://jsbin.com/jekubovide/edit?html,css,output"> | |
<img src="https://static.jsbin.com/images/dave.min.svg" alt="" id="main-image"> | |
</a> | |
<script id="jsbin-source-css" type="text/css"> | |
.title { | |
color: red; | |
font-size: 50px; | |
} | |
a > img { | |
height: 100px; | |
border: 4px solid black; | |
} | |
// OR | |
#main-image { | |
height: 100px; | |
border: 4px solid black; | |
}</script> | |
</body> | |
</html> |
This file contains hidden or 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
.title { | |
color: red; | |
font-size: 50px; | |
} | |
a > img { | |
height: 100px; | |
border: 4px solid black; | |
} | |
// OR | |
#main-image { | |
height: 100px; | |
border: 4px solid black; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment