Created
October 28, 2017 16:58
-
-
Save umbreonight/08f3dbbbb3889cf98205aa20772ad7c3 to your computer and use it in GitHub Desktop.
User Profile
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
<div class="sidebar"> | |
<div class="user"> | |
<div class="picture"></div> | |
<div class="user-details"> | |
<span class="name">Kingturo</span> | |
<span class="title">front end developer</span> | |
<span class="tribe"></span> | |
</div> | |
</div> | |
</div> |
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
.sidebar { | |
width: 260px; | |
height: 100%; | |
background-color: #212121; | |
.user { | |
display: flex; | |
height: 100px; | |
padding: 14px 24px; | |
align-items: center; | |
.picture { | |
width: 56px; | |
height: 56px; | |
border-radius: 100%; | |
background-color: white; | |
} | |
.user-details { | |
color: white; | |
margin-left: 16px; | |
span { | |
display: block; | |
&.name { | |
text-transform: capitalize; | |
font-size: 14px; | |
} | |
&.title { | |
text-transform: uppercase; | |
font-size: 11px; | |
} | |
} | |
} | |
} | |
} |
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
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment