Created
May 28, 2012 14:05
-
-
Save jklm313/2819370 to your computer and use it in GitHub Desktop.
Untitled
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
* {box-sizing: border-box; vertical-align: top;font-family: sans-serif} | |
.student-id { | |
background: #d9d9d9; | |
padding: 10px; | |
border-radius: 10px; | |
border-bottom: 1px solid grey; | |
border-right: 1px solid #aeaeae; | |
} | |
.id-box { | |
float: left; | |
text-align: center; | |
border-radius: 5px; | |
overflow: hidden; | |
margin-right: 10px | |
} | |
.id-label { | |
width: 100%; | |
background: white; | |
display: inline-block; | |
} | |
.id-number { | |
background: red; | |
clear: both; | |
width: 100%; | |
display: inline-block; | |
} | |
.profile-card { | |
overflow: hidden; | |
} | |
.profile-portrait { | |
float: left; | |
height: 100px; | |
width: 100px; | |
background: #222; | |
border-radius: 5px; | |
margin-right: 10px; | |
} | |
.profile-stats { | |
overflow: hidden; | |
} | |
h3 { | |
margin: 0; | |
} | |
.id-etc { | |
margin-top: 5px | |
} | |
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="student-id"> | |
<div class="id-box"> | |
<span class="id-label">ID</span> | |
<span class="id-number">001</span> | |
</div><!-- .id-block --> | |
<div class="profile-card"> | |
<div class="profile-portrait"></div> | |
<div class="profile-stats"> | |
<h3>Name</h3> | |
<div class="id-etc">Father's name: Dragon</div> | |
<div class="id-etc">Mother's name: Bear</div> | |
<div class="id-etc">Class/grade: elven</div> | |
<div class="id-etc">Address: Heaven</div> | |
<div class="id-etc">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div> | |
</div> | |
</div><!-- .profile-card --> | |
</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
{"view":"separate","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