Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <body>
  <header class="header">
  <div>
  <h1 id="alert">#WarAgainstPorn</h1>
<h2 id="alert">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 class="vid" > 
    <p id ="alert">Do you know what porn does to you? Do you know how it affects you?</p>
    <iframe width="420" height="420" class="video "
src="https://www.youtube.com/embed/m1jlkLcmwqM">
</iframe>
    <p>You can do something about your addiction. With Jesus you have been given victory over anything.</p>
  </section>
</body>
              
            
!

CSS

              
                body {
  background-image: linear-gradient(35deg, #a39e9e, #a03636);
}
.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;
}
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 {
  background-image: URL(http://missjones.me/wp-content/uploads/2016/04/8769iDA91D7B88A5B3822.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  width: 100%;
  height: 300px;
  text-align: center;
}
#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 {
  /*margin: auto;*/
  display: flex;
  flex-direction: coulumn;
 /* justify-content: center;*/
 align-items: center;
}
.vid {
  display: flex;
  align-items: center;
  flex-direction: column;
}
              
            
!

JS

              
                
              
            
!
999px

Console