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

Packages

Add Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import or require. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <html>
<head>
  <meta charset="UTF-8" />
  <title>Lumea Retetelor</title>
</head>
<body style="color:gray;" class="bunicul">
  <div class="parteadesus">
    <div class="logo" style="position: absolute; ">
      <h1>Lumea Retetelor</h1>
    </div>
    <div class="meniu meniulactiv">
      <a class="linkmeniu" target="_blank" href="/the-codepunker/professor/KaLRLz/?editors=1000">Prajitura magica</a>
    </div>
    <div class="meniu">
      <a class="linkmeniu" target="_blank" href="/the-codepunker/professor/EZzROO/?editors=1000">Prajitura cu frisca</a>
    </div>
    <div class="meniu">
      <a class="linkmeniu" target="_blank" href="/the-codepunker/professor/EZzROO/?editors=1000">Prajitura cu ciocolata</a>
    </div>
  </div>
  <div class="tatal">
      <h2 style="color:brown; font-size: 64px; font-family: Arial; font-weight: normal; margin-bottom:0px;">Prajitura magica</h2>
      <span> 25.02.2017 </span>
      <hr />
      <p>
        <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/472090/magic-cake.jpg" alt="Our magic cake is here :)" style="width:auto; height:200px;">

        <img target=blank src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/472090/Banana-Pudding-Poke-Cake.jpg" alt="Our magic cake is here" style="width:auto; height:200px;" />
        <br>
      <h2 class="subtitlu"> Descriere </h2>
      <p style="color:gray; font-size: 20px;">
        Prajitura magica este dulce si gustoasa. Lui Catalin ii place pentru ca are ciocolata.
      </p>

      <p style="border-bottom:5px solid brown;"></p>
      <h2 class="subtitlu">Ingrediente</h2>
      <ul>
        <li>Oua</li>
        <li>Frisca</li>
        <li>Faina</li>
        <li>Lapte</li>
      </ul>

      <h2 class="subtitlu">Mod de     preparare</h2>
      <ol>
        <li>Fierbeti apa</li>
        <li>Adaugati oua</li>
        <li>Prajitura e gata</li>
      </ol>
      <h2 style="font-family:Arial;font-weight:normal;"></h2>

      <table>
        <tr>
          <td class="celula_tabele">Cofetarie</td>
          <td class="celula_tabele">Gramaj</td>
          <td class="celula_tabele">Pret</td>
        </tr>
        <tr>
          <td class="celula_tabele">Happy Day</td>
          <td class="celula_tabele">100G</td>
          <td class="celula_tabele">100lei</td>
        </tr>
        <tr>
          <td class="celula_tabele">Delice</td>
          <td class="celula_tabele">40G</td>
          <td class="celula_tabele">40lei</td>
        </tr>
      </table>  
  </div>
  
  </body>
</html>
            
          
!
            
                  .celula_tabele {
      border: 1px solid gray;
    }

    .subtitlu {
      color:brown; font-family:Arial; font-weight:normal;
    }
    
    .bunicul {
      background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/472090/Untitled.jpg');
      background-repeat: no-repeat;
      background-position: center top;
      background-size: contain;
      background-color: #c5b292;
      padding: 0;
      margin: 0;
      font-family: Arial, 'Helvetica, sans-serif';
    }
    
    * {
       box-sizing: border-box;
    }
    
    .tatal { 
      background-color: rgba(255, 255, 255, 0.9);
      width: 80%;
      margin-left: 10%;
      margin-top: 20px;
      padding: 20px;
      clear: both;
    }
    
    .parteadesus {
      width: 80%;
      background: pink;
      margin: 50px auto 0 auto;
    }
    
    .logo {
      background: white;
      float: left;
      width: 40%;
    }
    
    .meniu {
      background: darkred;
      float:left;
      width: calc(20% - 1px);
      margin-top: 40px;
      height: 40px;
      text-align: center;
      border-radius: 7px 7px 0 0;
      margin-left: 1px;
    }

    .meniulactiv {
      background: white;
    }

    .meniulactiv .linkmeniu {
      color: darkred;
    }

    .meniu:hover {
      background: lightgray;
    }

    .meniu:hover .linkmeniu {
      color: darkred;
    }

    .linkmeniu {
      color: white;
      font-size: 13px;
      margin-top: 7px;
      display: block;
    }

            
          
!
999px

Console