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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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