GameHoo
2/26/2017 - 10:54 PM

JS Bin // source https://jsbin.com/ronufuy

JS Bin

// source https://jsbin.com/ronufuy

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
<style id="jsbin-css">
.container{
  height:960px;
  width:540px;
  background:#ddd;
  display:flex;
  flex-direction:column;
}
body{
  margin:0;
  height:100%;
}
.a1{
  flex:122;
  display:flex;
  flex-direction:row;
  background:white;
}
.a2{
  flex:1632;
  display:flex;
  flex-wrap:wrap;
  flex-direction:row;
  overflow:scroll;
  align-content:flex-start;
}
.a3{
  flex:166;
  background:white;
}
.b1{
  flex:2;
  border-style:dashed;
}
.b2{
  flex:3;
  border-style:dashed;
}
.c{
  height:150px;
  width:164px;
  margin:5px;
  background:white;
  box-shadow:2px 3px 4px #AAA
}
</style>
</head>
<body>
  <div class="container">
    <div class="a1">
      <div class="b1">Notebook1</div>
      <div class="b2">b2</div>
    </div>
    <div class="a2">
      <div class="c c1">1</div>
      <div class="c c2">2</div>
      <div class="c c3">3</div>
      <div class="c c4">4</div>
      <div class="c c5">5</div>
      <div class="c c6">6</div>
      <div class="c c7">7</div>
      <div class="c c8">8</div>
      <div class="c c8">8</div>
      <div class="c c8">8</div>
      <div class="c c8">8</div>
      <div class="c c8">8</div>
      <div class="c c8">8</div>
      <div class="c c8">8</div>
      <div class="c c8">8</div>
      <div class="c c8">8</div>
      <div class="c c8">8</div>
    </div>
    <div class="a3">a3</div>
  </div>


<script id="jsbin-source-css" type="text/css">.container{
  height:960px;
  width:540px;
  background:#ddd;
  display:flex;
  flex-direction:column;
}
body{
  margin:0;
  height:100%;
}
.a1{
  flex:122;
  display:flex;
  flex-direction:row;
  background:white;
}
.a2{
  flex:1632;
  display:flex;
  flex-wrap:wrap;
  flex-direction:row;
  overflow:scroll;
  align-content:flex-start;
}
.a3{
  flex:166;
  background:white;
}
.b1{
  flex:2;
  border-style:dashed;
}
.b2{
  flex:3;
  border-style:dashed;
}
.c{
  height:150px;
  width:164px;
  margin:5px;
  background:white;
  box-shadow:2px 3px 4px #AAA
}</script>
</body>
</html>
.container{
  height:960px;
  width:540px;
  background:#ddd;
  display:flex;
  flex-direction:column;
}
body{
  margin:0;
  height:100%;
}
.a1{
  flex:122;
  display:flex;
  flex-direction:row;
  background:white;
}
.a2{
  flex:1632;
  display:flex;
  flex-wrap:wrap;
  flex-direction:row;
  overflow:scroll;
  align-content:flex-start;
}
.a3{
  flex:166;
  background:white;
}
.b1{
  flex:2;
  border-style:dashed;
}
.b2{
  flex:3;
  border-style:dashed;
}
.c{
  height:150px;
  width:164px;
  margin:5px;
  background:white;
  box-shadow:2px 3px 4px #AAA
}