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="ombre1e">
  <p>Ombre externe purple, centrée, sans flou, étalée de 10px</p>
<div id="ombre2e">
  <p>Ombre externe purple, projetée, avec flou, étalée de 10px</p>
<div id="ombre3e">
  <p>Ombre externe purple, projetée, avec flou, étalée de 10px</p>
<div id="ombre4e">
  <p>Ombre externe purple, projetée, sans flou, réduite de 10px</p>
<div id="ombre5e">
  <p>Ombre interne centrée rouge avec un flou étalée de 10px</p>
<div id="ombre6e">
  <p>Ombre interne rouge, projetée, étalée de 10px</p>
<div id="ombre7e">
  <p>Ombre interne rouge, projetée, réduite de 10px</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: 0px 0px 0px 10px purple;

    box-shadow: 10px -20px 5px 10px purple; 
    color: blue;

    box-shadow: -20px 0px 20px 10px purple;

    box-shadow: 10px 15px 0px -10px purple; 

    box-shadow: inset 0px 0px 20px 10px red;

    box-shadow: inset -20px 0px 20px 10px red;

    box-shadow: inset 5px 15px 5px -10px red;