Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

              
                <!-- This is what I'm duplicatiing
 https://dribbble.com/shots/2492038-Task-List-App/attachments/489171
-->

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="style.css">
      <script src="https://kit.fontawesome.com/1b49d7e787.js"></script>
  <title>Design 2</title>
</head>
<body>
  <div class="container">
    <div class="part1">
      <div class="part1a">
        <span class="balls1">
          <div class="ball"></div>
          <div class="ball"></div>
          <div class="ball"></div>
          <div class="ball" style="background-color: black;"></div>
          <div class="ball" style="background-color: black;"></div>
        </span>
        <span>10:51AM</span>
        <span><i class="fas fa-battery-three-quarters"></i></span>
      </div>
      <div class="part1b">
        <span class="left"><i class="fas fa-angle-left fa-3x" style="color:white;"></i></span>
        <span class="balls1 extra1">
          <div class="ball extra"></div>
          <div class="ball extra"></div>
          <div class="ball extra"></div>
        </span>
        <div class="part1c">Remote Working</div>
      </div>
      <img src="https://i.postimg.cc/0yncw4vQ/plus.png" alt="" class="plus">
    </div>

    <div class="part2">
      <div class="today">
        <p class="gray to">TODAY</p>

        <div class="grid-container">
          <div class="in"><input type="checkbox"class="check"></div>
          <div class="grid-container-2">
            <div .img><img src="https://i.postimg.cc/L82xhprw/phone.png" class="img"></div>
            <div class="t">
              <p class="darkP">Designing onboarding screen.</p>
              <p class="gray">Discuss with the Dev first.</p>
            </div>
            <div class="star"><i class="fas fa-star fa-lg" style="color: #ffca28;"></i></div>
          </div>
        </div>

        <div class="grid-container">
          <div class="in"><input type="checkbox"class="check"></div>
          <div class="grid-container-2" style="border-bottom: none;">
            <div .img><img src="https://i.postimg.cc/dt8Wq1SG/paint.png" class="pt"></div>
            <div class="t">
              <p class="darkP">Create a new icon set.</p>

            </div>
            <div class="star"><i class="fas fa-star fa-lg" style="color: #8080803d;"></i></div>
          </div>
        </div>
      </div>

      <div class="tomorrow">
        <p class="gray to">TOMORROW</p>

        <div class="grid-container">
          <div class="in"><input type="checkbox"class="check"></div>
          <div class="grid-container-2">
            <div class="img"><img src="https://i.postimg.cc/fbb5jvWv/web-Design.png" class="img"></div>
            <div class="t">
              <p class="darkP" style="position: relative; right: 10px;">Code a new portfolio.</p>

            </div>
            <div class="star"><i class="fas fa-star fa-lg" style="color: #8080803d;"></i></div>
          </div>
        </div>

        <div class="grid-container">
          <div class="in"><input type="checkbox"class="check"></div>
          <div class="grid-container-2">
            <div class="img"><img src="https://i.postimg.cc/sDF6dSKV/envelope.png"></div>
            <div class="t">
              <p class="darkP">Send a proposal email.</p>
            </div>
            <div class="star"><i class="fas fa-star fa-lg" style="color: #8080803d;"></i></div>
          </div>
        </div>

        <div class="grid-container">
          <div></div>
          <div class="grid-container-2 a">
            <div class="t">
              <p class="gray" style="text-decoration: line-through;">Design onboarding screen.</p>
            </div>
            <div class="star"><i class="fas fa-trash-alt fa-lg" style="color: #8080803d;"></i>
          </div>
          </div>
        </div>

      </div>
    </div>
  </div>
</body>
</html>

              
            
!

CSS

              
                *{
  box-sizing: border-box;
}

body{
  background-color: #E6E6FA;
}

.container{
  margin: auto;
  height: 700px;
  width: 400px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.part1{
  height: 180px;
  background-color: black;
  position: relative;
  background-image: url('https://i1.wp.com/www.dcrstrategies.com/wp-content/uploads/2016/04/trucash-page-banner-background.png?fit=900%2C380&ssl=1');
  background-position: center;
  background-size: cover;
}

.part1a{
  font-weight: bold;
  padding: 10px 10px  2px 10px;
  display: flex;
  justify-content:space-between;
  color: white;
}

.balls1{
  display: grid;
  grid-template-areas: "ball ball ball ball ball" ;
  grid-gap: 2px;
  width: 20px;
}

.ball{
  border: 1px solid white;
  border-radius: 50%;
  background: #80808033;
  width: 8px;
  height: 8px;
  background-color: white;
}

#ellipsis{
  /* margin-left: 10px; */
  background-color: black;
  color: white;
}

.part2{
  background-color: white;
  height: 520px;
  border: 1px solid white;
  padding-left: 20px;
}

.extra1{
  position: relative;
  left: 345px;
  top: -27px;
}

.extra{
  margin-right: 3px;
  width: 6px;
  height: 6px;
}

.left{
  margin-left: 20px;
}

.part1c{
  color: white;
  font-size: 25px;
  position: absolute;
  bottom: 15px;
  left: 15px;
}

.plus{
  position: relative;
  top: 67px;
  left: 320px;
}

.today{
  color: white;
  margin-bottom: 0;
  height: 110px;
}



.gray{
  color: #808080a6;
}

.to{
  margin-top: 35px;
  margin-bottom: 0;
}

.grid-container{
  display: grid;
  grid-template-columns: 1.5fr 8fr;
  grid-template-rows: 1fr;
  height: 80px;
}

input[type='checkbox'] {
    -webkit-appearance:none;
    width:25px;
    height:25px;
    background:#E6E6FA;
    border-radius:5px;
}

.check{
  position: relative;
  top: 10px;
  right: 2px;
}

.grid-container-2{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 6fr 1fr;
  grid-template-rows: 1fr;
  height: 60px;
  border-bottom: 1.5px solid #80808040;
}

.a{
  grid-template-columns: 7fr 1fr;
  grid-template-rows: 1fr;
}

.img{
  position: relative;
  top: 6px;
  right: 10px;
  padding-bottom: 16px;
  margin-left: 9px;
  padding-left: 0;
}

.t{
  height: 65px;
  line-height: 0.4;
}

.pt{
  position: relative;
  top: 10px;
}

.darkP{
  color: #6e2d93;
}

.fa-star{
  position: absolute;
  bottom: 30px;
  right: 18px;
}

.tomorrow{
  padding-top: 25px;
}

              
            
!

JS

              
                
              
            
!
999px

Console