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.

            
              .grid
  .item 50px
  .item 20%
  .item min-content
  .item
    nobr max-content
  .item 1fr
  .item 2fr
  .item auto
  .item Тестовая строка
  .item Тестовая строка
  .item Тестовая строка
  .item Тестовая строка
  .item Тестовая строка 
  .item Тестовая строка
  .item Тестовая строка
  .item Текст
  .item Текст
  .item Текст
  .item Текст
  .item Текст 
  .item Текст
  .item.fix-size Ограничен<br />min-width: 100px;
            
          
!
            
              .grid {
  display: grid;
  /* фолбэк для Safari */
  grid-template-columns: 50px 20% -webkit-min-content -webkit-max-content 1fr 2fr auto;
  /* для взрослых браузеров */
  grid-template-columns: 50px 20% min-content max-content 1fr 2fr auto;
  grid-template-rows: auto minmax(50px, 50vh) 5em;
  background: #ccc;
  padding: 2px;
  grid-gap: 2px;
  animation: pulse 10s ease-in-out infinite alternate;
  font: 8px/1.25 sans-serif;
}

.item {
  background: rgba(255,255,160,.7);
  padding: 3px;
}

.item:nth-child(even) {
  background: rgba(192,255,160,.7);
}

.fix-size {
  min-width: 100px;
  background: rgba(255,160,128,.7);
}

@keyframes pulse {
  0%, 5% { 
    width: 270px;
    height: 90px;
  }
  95%, 100% {
    width: 100%;
    height: 90vh;
  }
}
            
          
!
999px
Loading ..................

Console