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.

            
              section.layout-article
  ul.box-article
    li.list-article.wow.flipInY
      article.box-article
        a(href="")
          h1 Gummies fruitcake cupcake candy tart sesame snaps apple pie halvah.
          p Sweet roll lemon drops chupa chups. Candy canes icing soufflé ice cream tiramisu jelly-o macaroon sweet roll chocolate cake. Cake bear claw gummies topping candy canes liquorice muffin halvah.
          
    li.list-article.wow.flipInY(data-wow-delay="0.3s")
      article.box-article
        a(href="")
          h1 Gummies fruitcake cupcake candy tart 
          figure
            img(src="https://images.unsplash.com/photo-1441906363162-903afd0d3d52?ixlib=rb-0.3.5&q=80&fm=jpg&s=51953479f1ce3812d6fc2bc7d82ecea4", alt="")
          p Sweet roll lemon drops chupa chups. Candy canes icing soufflé ice cream tiramisu jelly-o macaroon sweet roll chocolate cake. Cake bear claw gummies topping candy canes liquorice muffin halvah.
          
    li.list-article.wow.flipInY(data-wow-delay="0.6s")
      article.box-article
        a(href="")
          h1 Gummies fruitcake cupcake candy tart sesame snaps apple.  
          figure
            img(src="https://images.unsplash.com/photo-1443527216320-7e744084f5a7?ixlib=rb-0.3.5&q=80&fm=jpg&s=6fbde3ee76bc8f49caf14c89778b2210", alt="")
          p Sweet roll lemon drops chupa chups. Candy canes icing soufflé ice cream tiramisu jelly-o macaroon sweet roll chocolate cake. Cake bear claw gummies topping candy canes liquorice muffin halvah.
          
    li.list-article.wow.flipInY(data-wow-delay="0.9s")
      article.box-article
        a(href="")
          h1 Gummies fruitcake cupcake 
          p Sweet roll lemon drops chupa chups. Candy canes icing soufflé ice cream tiramisu jelly-o macaroon sweet roll chocolate cake. Cake bear claw gummies topping candy canes liquorice muffin halvah.
          
    li.list-article.wow.flipInY(data-wow-delay="1.2s")
      article.box-article
        a(href="")
          h1 Cake apple pie candy canes liquorice.
          p Sweet roll lemon drops chupa chups. Candy canes icing soufflé ice cream tiramisu jelly-o macaroon sweet roll chocolate cake. Cake bear claw gummies topping candy canes liquorice muffin halvah.
 
    li.list-article.wow.flipInY(data-wow-delay="1.5s")
      article.box-article
        a(href="")
          h1 Gummies fruitcake cupcake candy tart sesame snaps apple pie
          figure
            img(src="https://images.unsplash.com/photo-1440470177828-6381dc5074ba?ixlib=rb-0.3.5&q=80&fm=jpg&s=6faf705d60f9804d03079755fb323a9a", alt="")
          p Sweet roll lemon drops chupa chups. Candy canes icing soufflé ice cream tiramisu jelly-o macaroon sweet roll chocolate cake. Cake bear claw gummies topping candy canes liquorice muffin halvah.
 
a.credit(href="http://tlab.co.id/", target="_blank")
    
            
          
!
            
              @import "compass";

/* variabel */
$break-small: 480px;
$break-large: 1024px;
$primary-color :#24cf5f;

/* mixin */


@mixin respond-to($media) {
  @if $media == handhelds {
    @media only screen and (max-width: $break-small) { @content; }
  }
  @else if $media == medium-screens {
    @media only screen and (min-width: $break-small + 1) and (max-width: $break-large - 1) { @content; }
  }
 
}

@mixin column-break-inside($v) {
   -webkit-column-break-inside: $v;
	    -moz-column-break-inside: $v;
	         column-break-inside: $v;
}

@mixin column-count($vc) {
      -moz-column-count: $vc;
   -webkit-column-count: $vc; 
	         column-count: $vc;
}

@mixin column-gap($vg) {
   -webkit-column-gap: $vg;
	    -moz-column-gap: $vg;
	         column-gap: $vg;
}

@mixin column-fill($vf) {
   -webkit-column-fill: $vf;
	    -moz-column-fill: $vf;
	         column-fill: $vf;
}



html,body {
  background:#f1f1f1;
  font-family: 'Raleway', sans-serif;
}
 a {
   text-decoration :none;
}
.layout-article {
  max-width:1027px;
  margin:0 auto;
  padding:40px 0px;
  
  ul.box-article {
    list-style:none;
	  @include column-count(3);
	  @include column-gap(0px); 
    li {
      display:inline-block;
	    @include column-break-inside(avoid);
      padding:25px;
      background :#ffffff;
      height:auto;
      overflow:hidden;
      margin:15px;
      position:relative;
      @include box-shadow(0 1px 2px rgba(0,0,0,.1));
      article {
        width:100%;
        h1 {
          @include transition(0.3s ease);
          font-size: 24px;
          line-height: 31px;
          font-weight:600;
          color :#191919;
          margin-bottom:15px;
        }
        figure {
          width:100%;
          img {
           width:100%;
          }
        }
        p {
            margin-top:15px;
            font-size :16px;
            line-height:26px;
            font-weight:500;
            color: #5E5E5E;
          }
        span {
          
          width:100%;
          display:block;
          padding:15px;
          text-align:center;
          background :$primary-color;
           
          margin-left:-15px;
          color:#ffffff;
          @include translateY(15px);
          @include transition(0.3s ease);
        }
      }
      &:hover {
        article {
          h1 {
            color :$primary-color;
          }
          span {
            /* @include translateY(0px); */
          }
        }
      }
    }
    @include respond-to(handhelds) {
      @include column-count(1);
    }
     @include respond-to(medium-screens) {
      @include column-count(2);
    }
  }
}

.credit {
  position:fixed;
  bottom:15px;
  right:15px;
  width:150px;
  height:100px;
  background:url(http://tlab.co.id/images/logo.png)no-repeat center center;
  
  
  
}
            
          
!
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