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="blue-bg"></div>
<div class="white-bg shadow"></div>
<div class="content">
  <h1>Slanted & Enchanted</h1>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin magna ex, elementum id convallis eu, elementum id justo. Maecenas dictum sagittis leo, ut ultrices risus mollis vitae. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus
    eu lectus felis. Vivamus eget velit erat. Vivamus condimentum augue sed lacus viverra imperdiet. Etiam quis lectus non libero hendrerit porta. In sit amet molestie lacus. Praesent ultricies, lectus eget porta porttitor, sem sapien facilisis arcu,
    eu tincidunt nulla odio ac ipsu.</p>

  <p>Praesent eu arcu convallis, faucibus turpis eu, rutrum nisi. Integer rutrum ipsum at aliquam consequat. In dignissim lorem nibh, nec iaculis est fermentum vitae. Maecenas sodales, nunc eget lacinia volutpat, nibh mi lobortis leo, id varius urna tellus
    ut magna. Sed porttitor nunc et luctus efficitur. Nam sit amet congue nulla. Praesent dapibus erat arcu, at scelerisque arcu faucibus vel. Morbi blandit venenatis elit. Nam feugiat bibendum suscipit. Donec viverra eu lorem eu venenatis. Nullam posuere
    nulla id libero rutrum venenatis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam molestie ac velit vel blandit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis
    egestas.</p>
</div>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Montserrat)
@import url('https://fonts.googleapis.com/css?family=Open+Sans')

h1
  font-family: 'Montserrat', sans-serif

p
  font-family: 'Open Sans', sans-serif
  text-align: justify

.blue-bg
  position: fixed
  background: url(https://www.mangoafricansafaris.com/sites/www.mangoafricansafaris.com/files/styles/original/public/gallery/chumbe_bungallow_and_forest_overview_oskar_henriksson.jpg?itok=UXkgUC5y)
  background-size: cover
  background-color: #58aff6
  top: 0
  height: 400px
  width: 100vw
  z-index: -1

.white-bg
  position: absolute
  top: 0
  background-color: #fff
  min-height: 500px
  margin: 210px 0px
  width: 100vw
  height: 100vh
  transform: skewY(5deg)
  z-index: -1

.content
  position: absolute
  top: 0
  margin: 250px 10vw
  max-width: 60vw
  background-color: #fff
    
.shadow
  box-shadow: -2px -5px 5px 0px rgba(0,0,0,0.3)

            
          
!
            
              /*-- Notes:

Header IMG:   Change image by swapping out url in .blue-bg
              Make solid color by removing 'background' properties
Slant angle:  Modify skewY degree in .white-bg
Top distance: Slant distance from top = margin in .white-bg
              Text distance from top = margin in .content
Fixed Header: 'turn off' with "position: absolute" in .blue-bg

--*/
            
          
!
999px
Loading ..................

Console