Skip to content

Instantly share code, notes, and snippets.

@SerkanSipahi
Created January 6, 2015 12:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SerkanSipahi/778030f91a32864d4217 to your computer and use it in GitHub Desktop.
Save SerkanSipahi/778030f91a32864d4217 to your computer and use it in GitHub Desktop.
cu-ski
<div class="header">Header</div>
<div class="subheader">Subheader</div>
<div class="mainarea">
<div class="sidebar">
<div class="search" style="height: 800px; background-color: yellow">
</div>
</div>
<div class="controlbar"></div>
<div class="content">
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
<img style="display:block; margin-left: 20px; margin-bottom: 5px;" src=" http://lorempixel.com/700/200/" />
</div>
</div>
* {
font-size: 12px;
}
.header {
background-color: gray;
height: 10vh;
}
.subheader {
background-color: darkgray;
height: 5vh;
}
.mainarea {
display:flex;
flex-direction: row;
position:absolute;
width: 100%;
.sidebar {
background-color: blue;
width: 15%;
}
.controlbar {
background-color: green;
width: 3%;
}
.content {
background-color: pink;
flex:1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment