Skip to content

Instantly share code, notes, and snippets.

@yantze
Created July 25, 2017 02:14
Show Gist options
  • Save yantze/345bf75b172904da62d0580f185f7c13 to your computer and use it in GitHub Desktop.
Save yantze/345bf75b172904da62d0580f185f7c13 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/jedafe
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.img {
width:40px;
height: 40px;
border: 1px solid red;
}
.img, .nick {
display:inline-block;
vertical-align:middle;
}
</style>
</head>
<body>
<div>
<image class="img"></image>
<div class="nick">nickName</view>
</div>
<script id="jsbin-source-css" type="text/css">
.img {
width:40px;
height: 40px;
border: 1px solid red;
}
.img, .nick {
display:inline-block;
vertical-align:middle;
}</script>
</body>
</html>
.img {
width:40px;
height: 40px;
border: 1px solid red;
}
.img, .nick {
display:inline-block;
vertical-align:middle;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment