Last active
January 19, 2016 21:17
-
-
Save man-oi/81f123dd8236262bd846 to your computer and use it in GitHub Desktop.
profile image / settings
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
/** | |
* profile image / settings | |
*/ | |
.container { | |
width: 700px; | |
height: auto; | |
margin: auto; | |
background-color: #333; | |
color: white; | |
display: table; | |
} | |
.box { | |
width: 25%; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
display: table-cell; | |
vertical-align: middle; | |
} | |
.box:nth-child(2) { | |
width: 50%; | |
text-align: center; | |
} | |
.box:nth-child(2) img { | |
width: 90%; | |
height: auto; | |
border-radius: 50%; | |
} | |
.box:nth-child(3) { | |
text-align: right; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<div class="container"> | |
<div class="box"></div> | |
<div class="box"><img src="https://unsplash.it/400/400/?random" /></div> | |
<div class="box"><img src="https://unsplash.it/80/80/?random"/></div> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment