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>

  <div class="header">
    <img src="https://scontent.fktp1-1.fna.fbcdn.net/v/t31.0-8/1890499_210916519105162_2092833103_o.jpg?_nc_cat=0&oh=ae2d5830178faa9a356de73fae6cb30e&oe=5B768D4A" alt="logo"/>
    
  <h1 class="Dyn-position">Dynamic Studios</h1>
  </div>
    
    <nav>
      
    <ul class="nav nav-tabs nav-tabs">
      <li class="active"><a href="#">services</a></li>
      <li class="active"><a href="#">Home</a></li>
      <li class="active"><a href="#">About</a></li>
      </ul>
    </nav>
      </div>
    </header>
  <img class= "img1" src="https://i.pinimg.com/736x/de/a5/f5/dea5f554f366e6d1aea175f9f7f463ce--female-photographers-private-investigator.jpg">
  
  <img class= "img2" src= "https://i.pinimg.com/564x/79/ba/17/79ba17ccc2c42fc3ab5a3c7e5fa08b01.jpg">
    <br>
    <br>
    <br>
  

   
    <p> Welcome! Step into our domain, have a look around as we aim to surprise our audience with our content.Reminisce of fond memories of the past when faced with photos by our top photographers, break the laws of physics with inscredible action scenes
      portrayed by our indi animators. Finally </p>
    
    
   
    
    
    
    </body>
              
            
!

CSS

              
                .header img {
  float: left;
  width: 200px;
  height: 150px;
  background: #555;
}


.Dyn-position{
  top: -8px;
  position: absolute;
}
/*CSS class to change the position of the "Dynamic Studios" text*/

body {
  margin: -15px;
  padding: 20px;
  background: orange;
/*  background-image: url("https://i.pinimg.com/736x/de/a5/f5/dea5f554f366e6d1aea175f9f7f463ce--female-photographers-private-investigator.jpg");
*/  
  
}

.img1 {
  top: 230px; /*Places image 0px away from the top of the website*/
  left: -18px;/*Places image 0px away from the left of the website*/
  position: absolute; /*Needed to make both 'top' and 'left' properties work*/
  z-index:-1;/*Allows this element to appear behind others*/
}

.img2 {
  top: 230px;
  right: -18px;
  position: absolute;
  Z-index: -1;
  
}

.nav-tabs > li {
  float:right;
}


              
            
!

JS

              
                
              
            
!
999px

Console