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.

            
              <img src="https://4.bp.blogspot.com/-SImDU_Ddw5k/T3UYNoKNDxI/AAAAAAAABfQ/dxf3u4FzG4s/s1600/Hour+Glass+Wallpapers+2.jpg" alt="" class="right" />
<div class="container">
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis quisquam rerum quasi hic iusto ipsum quas inventore totam officia repellendus ducimus voluptate eos animi sint explicabo natus consequatur error soluta.</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quia veritatis vitae corporis odit amet laudantium debitis animi alias blanditiis reiciendis sit pariatur asperiores modi qui eveniet quis molestias velit repellendus.Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa placeat numquam ex iure reprehenderit blanditiis amet atque enim eos earum magni voluptas ducimus dolorem repellendus deleniti et ipsum? Corrupti nesciunt.</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem amet cum voluptatibus similique accusantium tempora quae magni! Laboriosam omnis explicabo sit debitis sed quia iusto ut blanditiis in minima et.</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nesciunt fugiat omnis voluptatum dolorem necessitatibus nobis illum delectus tempore rem fugit quidem enim inventore repudiandae iure sunt quos nisi ipsam minima.</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nemo fugit modi tenetur qui nobis beatae corporis enim quaerat ad distinctio odit facilis culpa iure consequuntur voluptatibus consectetur optio non dolorum!</p>
</div>
<footer>Demo by Sara Soueidan. <a href="http://alistapart.com/article/css-shapes-101">See article</a> on A List Apart.</footer>    
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400);
* {
  margin: 0; 
  padding: 0;
}
body {
  font-family: "Open Sans";
}
footer {
  background-color: #eee;
  text-align: center;
  padding: 1em;
}
.container {
  padding: 20px 30px;
  text-align: justify;
}
img.right {
  float: right;
  height: 100vh;
  width: calc(100vh + 100vh/4);
  shape-outside: polygon(40% 0, 100% 0, 100% 100%, 40% 100%, 45% 60%, 45% 40%);
  -webkit-clip-path: polygon(40% 0, 100% 0, 100% 100%, 40% 100%, 45% 60%, 45% 40%);
}

            
          
!
999px
Loading ..................

Console