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. 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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <div class="container">
  <div class="row"> 
    <div class="col-4">
      <img src="https://initiativedeveloppeur.fr/wp-content/uploads/2019/05/ebook-Comment-avoir-une-image-de-marque-efficace-Miss-Dev.png"/>
    </div>  
    <div class="col-8 text-top">
     Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis fermentum nibh, sit amet consectetur nibh pulvinar id. Mauris lectus turpis, finibus mollis tellus vel, viverra placerat odio. Duis facilisis dignissim rhoncus. Nullam tincidunt, nibh ut euismod bibendum, augue purus commodo diam, ut maximus leo enim at leo. Mauris vel eros pulvinar, pretium nunc nec, rhoncus leo. Quisque imperdiet a tortor quis aliquet. Duis quis pellentesque arcu. Nunc at diam sed eros venenatis dignissim quis ac nisl. Vestibulum tincidunt dolor quis massa bibendum tempus. Aenean vel nisl velit. Cras venenatis ultricies mauris ac imperdiet. Ut in mi mauris.

Nulla convallis turpis at feugiat interdum. Quisque non sapien ut elit elementum congue. Nullam rhoncus neque in ante scelerisque, quis imperdiet velit ullamcorper. Nullam vulputate finibus neque sit amet dapibus. Proin dictum facilisis fermentum. Ut non viverra lorem. Sed maximus orci non vulputate dapibus.

    </div>  
  </div>
</div>
              
            
!

CSS

              
                .row {
  margin : 20px;
  padding : 20px;
  background-color : grey;
}

img {
  width : 50%;
  margin-left: 4em;
  margin-top : 2em;*/
}

.text-top {  
  margin : auto;
}
              
            
!

JS

              
                
              
            
!
999px

Console