Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource


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


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.


Auto Save

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.


                <h1>La propriété CSS box-shadow</h1>
<div id="ombre1">
  <p>Une ombre projetée vers la droite et vers le bas</p>
<div id="ombre1b">
  <p>Ombre interne projetée vers la droite et vers le bas</p>
<div id="ombre1c">
  <p>Ombre externe orange</p>
<div id="ombre2c">
  <p>Ombre interne vert-bleu</p>
<div id="ombre3c">
  <p>Ombre externe rosée semi transparente</p>


    border: 2px solid #777; /*Bordure de 2px*/
    width: 80%; /*Largeur des divs = 80% de la page*/
    margin: 0 auto; /*Centre nos div dans la page*/
    background-color: #fbb854; /*Fond orangé*/
    margin-bottom : 50px ;/*Marge externe basse de 50px*/
    padding: 10px; /*Marges internes de 10px*/
    box-sizing: border-box; /*Contenu + padding + border = 80%*/

    box-shadow: 10px 10px;
    box-shadow: inset 10px 10px;
    box-shadow: 10px 10px orange;

    box-shadow: inset 10px -20px #0AA; /*Ombre vert-bleu*/
    color: blue;

    box-shadow: -20px 0px RGBa(150,80,150,0.5); /*Rose ?*/