Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<div id="app">
  <div data-reactroot="" class="container">
    <div class="nav-bar">
        <div class="brand">Fiery Leaf</div>
    </div>
      <div class="background-image">
        <img src="/static/media/landscape-banner.67e9e794.jpg">
      </div>
      <div class="workouts">
        <button class="new-workout">New Workout</button>
        <div class="workout-list">
          <div class="btn-group">
            <button type="button" class="btn btn-default"></button>
          </div>
        </div>
      </div>
</div>
</div>
</body>
</html>
 
body {
  margin: 0;
  padding: 0;
  background: #2e112d;
}
.container {
  display: grid;
  grid-template-columns: 20% 20% 20% 20% 20%;
  grid-template-rows: 60px repeat(10, 10%);
  height: 100vh;
}
.nav-bar {
  grid-column: 1 / 6;
  grid-row: 1 / 2;
  background: #ffdbc5;
  text-align: center;
}
.brand {
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  display: inline-block;
  padding: 1.5%;
}
.background-image {
  grid-row: 2 / 9;
  grid-column: 1 / -1;
  overflow: hidden;
  position: relative;
}
img {
  position: absolute;
  display: block;
  height: 100%;
  width: auto;
  margin: 0 auto;
  left: 50%;
  top: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
}
.workouts {
  grid-column: 2 / 5;
  grid-row: 2 / -1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
}
.new-workout {
  font-size: 200%;
  color: white;
  background: none;
  border: white 10px;
  display: inline-block;
  height: 30%;
  width: 30%;
  grid-row: 1;
  margin: auto;
  z-index: 1;
}
.workout-list {
  display: block;
  position: relative;
  align-self: start;
  grid-column: 1 / 2;
  grid-row: 3;
  z-index:1;
}
button.btn {
  color: #5a5a5a;
  background-color: #e8e8e8;
  margin: 10px 0 10px 0;
  width: 100%
}
span.delete {
  display: inline-block;
  float: right;
  color: red;
}
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers