123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="container">
  <div class="row">
    <div class="col-md-3">
      <h1>Rainy Day</h1>
      <div id="artist"></div>
    </div>
    <div class="col-md-8">
      <div class="card card1">
        <div class="container">
          <div class="row">
            <div class="col-lg-1">
            </div>
            <div class="col-lg-10">
              <h2>Home</h2>
              <h3>Tablo - ft. Lee Sora</h3>
            </div>
            <div class="col-lg-1">
              <i class="fas fa-chevron-down"></i>
            </div>
          </div>
        </div>
      </div>
      <div class="card card2">
        <div class="container">
          <div class="row">
            <div class="col-lg-1">
            </div>
            <div class="col-lg-10">
              <h2>Home is Far Away</h2>
              <h3>Epik High - ft. Hyukoh</h3>
            </div>
            <div class="col-lg-1">
              <i class="fas fa-chevron-down"></i>
            </div>
          </div>
        </div>
      </div>
      <div class="card card1">
        <div class="container">
          <div class="row">
            <div class="col-lg-1">
            </div>
            <div class="col-lg-10">
              <h2>Lullaby for a Cat</h2>
              <h3>Epik High</h3>
            </div>
            <div class="col-lg-1">
              <i class="fas fa-chevron-down"></i>
            </div>
          </div>
        </div>
      </div>
      <div class="card card2">
        <div class="container">
          <div class="row">
            <div class="col-lg-1">
              <i class="fas fa-pause"></i>
            </div>
            <div class="col-lg-10">
              <h2>Pieces of You</h2>
              <h3>Epik High - ft. Jisun</h3>
            </div>
            <div class="col-lg-1">
              <i class="fas fa-chevron-up"></i>
            </div>
          </div>
        </div>
      </div>
      <div class="card lyrics">
        <div class="container">
          <div class="row">
            <div class="col-lg-1">
            </div>
            <div class="col-lg-11">
              <div class="button-row">
                <p>Languages:
                  <button>English</button>
                  <button class="active-button">Korean</button>
                </p>
              </div>
              <p>Dedicated to you<br><br>
                 당신의 눈동자<br>
                 내 생의 첫 거울 그 속에<br>
                 맑았던 내 모습<br>
                 다시 닮아 주고파<br>
                 거대한 은하수조차<br>
                 무색하게 만들던<br>
                 당신의 쌍둥이 별<br>
                 내 슬픔조차<br>
                 대신 흘려줬던 여울<br>
                 그속에 많았던 그 눈물<br>
                 다시 담아주고파<br>
                 그 두 눈 속에 숨고자했어<br>
                 당신이 세상이던 작은 시절<br>
                 당신의 두 손<br>
              </p>
            </div>
          </div>
        </div>
      </div>
      <div class="card card1">
        <div class="container">
          <div class="row">
            <div class="col-lg-1">
            </div>
            <div class="col-lg-10">
              <h2>Lost One</h2>
              <h3>Tablo - ft. Kim Jong Wan</h3>
            </div>
            <div class="col-lg-1">
              <i class="fas fa-chevron-down"></i>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
            
          
!
            
              body {
  font-family: futura;
  margin-top: 20px;
  background: #d7d4dc;
  background-size: 40px 40px;
  background-image: radial-gradient(circle, #fff 1px, rgba(0, 0, 0, 0) 1px);
}

h1 {
  font-size: 24px;
  font-weight: bold;
  line-height: 32px;
  color: #3e3c3b;
}

h2 {
  font-size: 14px;
  font-weight: bold;
  line-height: 14px;
  color: #fff;
}

h3 {
  font-size: 10px;
  line-height: 10px;
  color: #fff;
}

p {
  font-size: 12px;
  color: #584c4d;
}

button {
  border-radius: 10px;
  border: 1px solid #6d6968;
  font-size: 10px;
  background: none;
  color: #6d6968;
}

.active-button {
  background: #6d6968;
  color: #fff;
}

/****Font awesome icons***/
.fa-chevron-down, .fa-chevron-up,
.fa-pause {
  color: #fff;
}


/****Left Column****/
#artist {
  background: #eee;
  background-image: url(https://images.unsplash.com/photo-1519692933481-e162a57d6721?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 250px;
}

/****Playlist****/
.col-md-8 {
  margin-top: 36px;
}

.card {
  border: 0;
  border-radius: 0;
  padding-top: 12px;
  padding-bottom: 4px;
  /*padding-left: 76px;*/
  margin: 4px 0 4px 0;
}

.card1 {
  background: linear-gradient(to right, rgba(81, 78, 96, 0.5), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1553643182-15d168e4d680?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ');
  background-position: center;
  background-size: cover;
}

.card2 {
  background: linear-gradient(to right, rgba(81, 78, 96, 0.5), rgba(255, 255, 255, 0.5)), url('https://images.unsplash.com/photo-1486016006115-74a41448aea2?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ');
  background-position: center;
  background-size: cover;
}

.lyrics {
  margin-top: -4px;
  background: #f1f0f1;
  height: 200px;
  overflow-y:auto;
}

@media (max-width:767px) {
  /****Left Column****/
  #artist {
    height: 300px;
  }
}
            
          
!
            
              // Hi-fidelity prototype: pmiho.net/dui09
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console