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

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <div style="background-image:url('https://www.zupimages.net/up/18/11/rxrl.jpg'); background-position:center; width:500px; height:647px; margin:auto; padding:0px 15px;"><div style="height:70px; position:relative; font-family:arial; color:white; text-transform:uppercase;"><span style="position:absolute; bottom:0px; font-size:40px; font-style:italic; font-weight:bold;">Titre ici</span><span style="position:absolute; bottom:4px; right:0px; font-size:13px; font-weight:bold;">Feat Perso</span></div><div style="background-color:white; height:540px;  padding:4px; font-family:arial; color:#8d718d;"><p style="height:500px; margin:20px 0; overflow:auto; text-align:justify; font-size:14px;"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer sollicitudin eros eget massa iaculis suscipit. Sed et lacinia justo, ornare suscipit est. Integer congue consectetur nunc in sodales. Mauris id orci lorem. Donec consequat, mauris et facilisis sodales, ex est euismod ex, sit amet congue velit purus convallis sapien. Nullam ultricies hendrerit mauris vitae faucibus. Fusce in leo sed ipsum rutrum fringilla vitae sed tellus. Praesent non eros rutrum, posuere erat at, blandit nisi. Mauris nisl lorem, fringilla sit amet fermentum ut, suscipit nec mi. Cras euismod eros eget magna tincidunt sollicitudin. Nunc molestie arcu et tincidunt sodales. In sed purus ut dolor sollicitudin eleifend non sit amet tellus. Duis feugiat orci efficitur est aliquam, eget euismod ante molestie. Ut justo mauris, aliquet nec augue vitae, aliquam tincidunt lacus. Maecenas iaculis ornare erat eget mollis. Nam efficitur ligula in leo facilisis, tincidunt elementum nisl elementum.

Etiam cursus ligula ac felis elementum ultrices. Aliquam maximus ligula lorem, eget malesuada diam aliquet vel. Pellentesque purus tellus, tincidunt sed tincidunt in, porta non metus. Donec a nisi efficitur, aliquam libero et, semper urna. Morbi ullamcorper nunc vel erat auctor, efficitur sodales sem posuere. Quisque ac turpis pharetra, elementum mi in, consectetur ipsum. Vivamus ut tellus vitae risus porta maximus. Quisque purus odio, vulputate vel malesuada ut, luctus id lorem.

Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse potenti. In velit ipsum, auctor eget elit sed, aliquam tincidunt sem. Sed mollis lobortis consectetur. Phasellus nisl metus, interdum id leo non, consequat volutpat quam. Proin tincidunt quam at urna vehicula congue. Phasellus in lectus interdum massa posuere volutpat sit amet at elit. 
  
  Quisque cursus ipsum id pretium fringilla. In hac habitasse platea dictumst. Praesent eu risus ac turpis varius auctor in a dolor. Vestibulum convallis libero sit amet tortor condimentum sodales. Nulla vitae tempus eros. Proin arcu dui, laoreet ac consectetur a, aliquet at magna. Sed eget turpis ac ex volutpat sollicitudin. Phasellus dui tortor, iaculis id ornare quis, efficitur ut nulla. Sed volutpat pretium diam non blandit. Duis accumsan nisi tellus, vitae vulputate quam pulvinar eget. Integer tempus, nisl quis fermentum interdum, ipsum elit sollicitudin justo, vitae aliquam dolor diam sagittis massa. Phasellus viverra sem ac tortor egestas porta. Fusce vel ornare eros. </p></div></div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px
If you get tired, be like an AJAX request and REST.

Console