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.

<div class="a z">

<div class="b z">

<div class="c z">

<div class="d z">
<p>.z.d>* 박스가 100px 크기로 수축한 이유는 다음과 같다.</p>
  <li>선언하지 않은 속성 flex-shrink의 기본값이 '1'이기 때문에 free-space(-150px) 공간만큼 균등하게 수축 발생.</li>
  <li>박스 기본 크기 + ( free space / 수축지수 총 합 ) * flex-shrink 값 = flex item 크기.</li>
  <li> 150+(-150/3)*1=100</li>

              .z{display:flex;width:300px;height:32px;background:silver;color:white;outline:5px solid black;margin-bottom:2em;text-align:center;}


Loading ..................