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.

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

            
              - const bbb = [1,2,3,4,5]
 each aaa, i in bbb
  section.item-list(id = `item${i}`)
      .house-list
        .house-list-detail.clearfix
          .list-left
            img(src='/img/'+aaa.img)
            .house-list-Info
              h3#house-list-title.house-list-title
               a(href='/aaa/housedetail/'+aaa._id)
                =aaa.name
              span.house-list-star
                #star-bg
                  #star(style='width:80%')
                p#house-type &#x793E;&#x5340;
            .house-list-location
              p#house-list-location &#x6843;&#x5712;&#x5E02;&#x9F9C;&#x5C71;&#x5340;&#x660E;&#x6210;&#x8857;111&#x865F;
            #house-list-score.house-list-score
              | 4.5/5 (&#x5171;&#x6709;200&#x4EBA;&#x8A55;&#x5206;)
          b#list-price &#x5E73;&#x5747;&#x79DF;&#x50F9;:5000&#x5143;/&#x6708;
      article#sl-box-list.sl-box-list
        header.sl-box-header.text-overflow
          h3.sl-title &#x623F;&#x5C4B;&#x5217;&#x8868;
        a(href='')
          .sl-house-list
            .sl-house-left
              img(src='/img/'+aaa.img)
              h3#sl-box-name &#x9298;&#x50B3;&#x5927;&#x5B78;&#x5E02;&#x5957;&#x623F;&#x51FA;&#x79DF;
              p#sl-box-address &#x9298;&#x50B3;&#x5927;&#x5B78;&#x5E02; &#x6843;&#x5712;&#x5E02;-&#x9F9C;&#x5C71;&#x5340; &#x660E;&#x6210;&#x8857;212&#x865F;
              p#sl-box-type &#x7368;&#x7ACB;&#x5957;&#x623F;&#xFF0C;2&#x6A13;
              b#sl-box-score 4/5
              em (&#x5171;&#x6709;20&#x4EBA;&#x8A55;&#x5206;)
            .sl-house-right
              em#sq &#x576A;&#x6578;:13.5&#x576A;
              h3#sl-box-price &#x79DF;&#x91D1;:9000&#x5143;/&#x6708;
        // 要有line
        #line
        a(href='')
          .sl-house-list
            .sl-house-left
              img(src='/img/'+aaa.img)
              h3#sl-box-name &#x9298;&#x50B3;&#x5927;&#x5B78;&#x5E02;&#x5957;&#x623F;&#x51FA;&#x79DF;
              p#sl-box-address &#x9298;&#x50B3;&#x5927;&#x5B78;&#x5E02; &#x6843;&#x5712;&#x5E02;-&#x9F9C;&#x5C71;&#x5340; &#x660E;&#x6210;&#x8857;212&#x865F;
              p#sl-box-type &#x7368;&#x7ACB;&#x5957;&#x623F;&#xFF0C;2&#x6A13;
              b#sl-box-score 4/5
              em (&#x5171;&#x6709;20&#x4EBA;&#x8A55;&#x5206;)
            .sl-house-right
              em#sq &#x576A;&#x6578;:13.5&#x576A;
              h3#sl-box-price &#x79DF;&#x91D1;:9000&#x5143;/&#x6708;
      article#sl-box-rating.sl-box-rating.rating-overall
        header.sl-box-header.text-overflow
          h3.sl-title &#x8A55;&#x5206;&#x7E3D;&#x89BD;
        .clearfix
          .sl-rating-score
            h3.sl-box-score
              | &#x5E73;&#x5747;&#x8A55;&#x50F9;:
              span 4.5
          .rat-detail
            .rat-chart
              .rat-chart-group
                .rat-chart-item
                  span.rat-chart-label.col-sm-5 &#x5B89;&#x5BE7;&#x7A0B;&#x5EA6;
                  span.rat-chart-bar
                    span.rat-chart__bar-holder
                      span.rat-chart-bar-content.rat-color-5(style='width: 87%;')
                    span.rat-chart-number
                      span.rat-chart-score-string &#x8D85;&#x7D1A;&#x8B9A;
                      span.parentesis-wrapper 9.0 / 10
              .rat-chart-group-2
            input#link.link(type='button' value='+檢視更多' onclick='change();')
      article#sl-box-map.sl-box-map
        header.sl-box-header.text-overflow
          h3.sl-title &#x623F;&#x5C4B;&#x4F4D;&#x7F6E;
        .clearfix
          #map
#wrapper
      section
        .data-container
          #pagination-list         
            
          
!

CSS

            
              
            
          
!

JS

            
              
            
          
!
999px

Console