Skip to content

Instantly share code, notes, and snippets.

@viattik
Created June 15, 2016 12:40
Show Gist options
  • Save viattik/bc823c255c03a7ca0631644a62507c0f to your computer and use it in GitHub Desktop.
Save viattik/bc823c255c03a7ca0631644a62507c0f to your computer and use it in GitHub Desktop.
FE_Interview_Snippets
<!-- Make all small squares to inside container, 3 in row, 10px padding everywhere -->
<div class="container">
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
<div class="image"></div>
</div>
<style>
.container {
border: 1px solid black;
width: 340px;
}
.image {
width: 100px;
height: 100px;
border: 1px solid red;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment