cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

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.

            
              .row
  p.center
    b.ng NG ie11 img un available max-width!
    br
    | display: table
  div.wrap
    div.table
      div.cell
        img(src="http://dummyimage.com/300x300/123/def")

.row
  p.center 
    b.ok OK ie11 img available max-width!
    br
    | display: table
    br
    | table-layout: 
    b fixed
  div.wrap
    div.table.fixed
      div.cell
        img(src="http://dummyimage.com/300x300/123/def")

.row
  p.center 
    b.ng NG ie11 img un available max-width!
    br
    | table-cell inside div
    br
    small (width:100% or width don't set)
  div.wrap
    div.table
      div.cell
        div.inner 
         img(src="http://dummyimage.com/300x300/123/def")
            
          
!
            
              img
  max-width: 100%
  heoght: auto
.wrap
  margin: 0 auto 1em
  border: 2px solid #73bfc3
  width: 200px
  height: 200px
  overflow: hidden

.table
  display: table
  width: 100%
  height: 100%  
  .cell
    display: table-cell
    width: 100%
    height: 100%

.table
  &.fixed
    table-layout: fixed
  
.inner
  display: block
  width: 100%
  
div, img
  margin: 0
  padding: 0
  vertical-align: bottom

.center
  text-align: center
  height: 4.5em
  
.ng
  color: #e3010f
.ok
  color: #8ab734

.row
  float: left
  width: 33.333%
  box-sizing: border-box
            
          
!
999px
Loading ..................

Console