css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <body>
  <header class="header">
  <div>
  <h1>#WarAgainstPorn</h1>
<h2 >Porn is not your friend</h2>
    
  <p id="alert">"No temptation has overtaken you except such as is common to man; but God is faithful, who will not allow you to be tempted beyond what you are able, but with the temptation will also make the way of escape, that you may be able to bear it." 1 Corithians 10:13 </p>
    </div>
  </header>
  <p> filler </p>
  <section id="mainbox">
    <div class="box1">
       <p id="al2"> Feel like you cant break free? Do you feel like this is something you might have to get used to for the rest of your life? </p> 
    </div>
    
    <div class="box2">
    <p id="al2">Have you talked to a friend? You dont have to do this alone. This doesnt have to take over your life</p>
    </div>
  </section>
    
  <section > 
    <p id ="alert">Do you know what porn does to you? Do you know how it affects you?</p>
    <iframe class="video"
src="https://www.youtube.com/embed/m1jlkLcmwqM">
</iframe>
  </section>
  <section>
  <p id="alert">You can do something about your addiction. With Jesus you have been given victory over anything.</p>
    <div> 
      <ul> 
        <li><h3> Standard</h3> </li>
        <li> $20 </li>
      </ul> </div>
    <div> <ul>
      <li> <h3>Iron Sharpeneth Iron</h3> </li>
      <li> $35 </li>
      </ul> </div>
  </section>
</body>
            
          
!
            
              body {
  background-image: linear-gradient(35deg, #4fccc7, #2d5655);
   background-size: cover;
  background-position: bottom center;
}
.fig-text {
  font-family: 'Indie Flower', cursive;
  font-style: italic;
  font-weight: bold;
  font-size: 1.5em;
  color: black;
}
/*h1#alert{
  font-family: 'Indie Flower', cursive;
  font-style: oblique;
  font-weight: bold;
  font-size: 4.5em;
  color: white;
}

h2#alert{
  font-family: 'Indie Flower', cursive;
  font-style: italic;
  font-weight: bold;
  color: white;
}*/
/*#alert h1{
  font-family: 'Indie Flower', cursive;
  font-style: italic;
  font-weight: bold;
  color: black;
}*/
p#alert{
  font-family: 'Indie Flower', cursive;
  font-style: italic;
  font-weight: bold;
  font-size: 1.5em;
  color: white;
}
p#al2{
  font-family: 'Indie Flower', cursive;
  font-style: italic;
  font-weight: bold;
  font-size: 1em;
  color: white;
  text-align:center;
}
.header {
  /*http://freearticles.info/wp-content/uploads/2018/07/christian-powerpoint-backgrounds-chains-broken-chain-vertical-worship-background-worship-backgrounds-download-750x425.jpg*/
 /* background-image: URL(http://missjones.me/wp-content/uploads/2016/04/8769iDA91D7B88A5B3822.jpg);*/
  background-image: URL(https://philadelphiamtc.files.wordpress.com/2013/06/broken-chain.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 500px;
  text-align: center;
}
.header h1{
  font-family: 'Indie Flower', cursive;
  font-style: italic;
  font-weight: bold;
  font-size: 100px;
  color: black;
}
.header h2{
  font-family: 'Indie Flower', cursive;
  font-style: italic;
  font-weight: bold;
  color: black;
}
#mainbox{
  display: flex;
  flex-direction: row;
}
#mainbox .box1 {
  background-image: URL(https://cdn-images-1.medium.com/max/633/1*2Rjqg0smtcZw1x9u1Zm2OA.jpeg);
  background-repeat: no-repeat;
 /* background-attachment: fixed;*/
  background-position: center;
  background-size: cover;
  /*padding: 20px;*/
  color: white;
  width: 50%;
  height: 200px;
}
#mainbox .box2 {
  background-image: URL(http://headsupguys.org/content/uploads/2015/06/talk-to-a-friend.jpg);
  /*padding: 20px;*/
  background-repeat: no-repeat;
  /*background-attachment: fixed;*/
  background-position: center;
  background-size: cover;
  color: white;
  width: 50%;
  height: 200px;
}
.video {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 520px;
    height: 520px;
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console