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

              
                <!DOCTYPE html>
<html lang="fr">
<head>
  <title>Fiche de pub D.U.S.K</title>
  <meta charset="utf-8">
</head>
<body>
<link href="https://fonts.googleapis.com/css?family=Syncopate" rel="stylesheet"/>
<div class="duskpub_general">
  <div class="duskpub_cadre">
    <div class="duskpub_staff">
      <div class="duskpub_imgstaff"><img src="https://www.zupimages.net/up/17/36/v64q.png" alt="staff1"/><div><h2>Pseudo</h2><p>admnistrateur</p></div>
</div>
      <div class="duskpub_imgstaff"><img src="https://www.zupimages.net/up/17/36/3ukp.png" alt="staff1"/><div><h2>Pseudo</h2><p>admnistrateur</p></div>
</div>
      <div class="duskpub_imgstaff"><img src="https://www.zupimages.net/up/17/36/u4js.png" alt="staff1"/><div><h2>Pseudo</h2><p>admnistrateur</p></div>
</div>
      <div class="duskpub_imgstaff"><img src="https://www.zupimages.net/up/17/36/5lo6.png" alt="staff1"/><div><h2>Pseudo</h2><p>admnistrateur</p></div>
</div>
      <div class="duskpub_imgstaff"><img src="https://www.zupimages.net/up/18/35/7d0f.png" alt="staff1"/><div><h2>Pseudo</h2><p>admnistrateur</p></div>
      </div></div>
  </div><h1>Contexte</h1><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ligula lectus, tincidunt eget dictum eget, fringilla non sapien. Sed et suscipit ante. Mauris accumsan dignissim sodales. Vestibulum aliquet pellentesque enim, sed commodo felis molestie quis. Mauris pretium dapibus quam eget laoreet. Suspendisse at lectus sit amet ipsum venenatis varius non sed tortor. Etiam aliquet ultrices magna, ornare rhoncus mi bibendum eu. Praesent varius vehicula urna, vel sodales leo sagittis eu.</p><h1>À propos</h1><p id="duskpub_stats">Nous comptons actuellement <strong>{TOTAL_POSTS}</strong> sujets relatant les aventures de <strong>{TOTAL_USERS}</strong> membres. Le livre est ouvert depuis le  <strong>{FORUMBIRTHDAY}</strong>. Il se déploie et évolue ; il ne manque plus que toi pour le compléter.</p>
      <div class="duskpub_liens"><a href="#"> - Lien 1</a><a href="#"> - Lien 1</a><a href="#"> - Lien 1</a><a href="#"> - Lien 1</a><a href="#"> - Lien 1</a><a href="#"> - Lien 1</a><a href="#"> - Lien 1</a><a href="#"> - Lien 1</a></div>
      <a href="#">www.dusk-rpg.forumactif.com</a>
  </div>
</div>
</body>
</html>
              
            
!

CSS

              
                .duskpub_general{
  width: 500px;
  height: 1000px;
  margin: auto;
  background: url(https://www.zupimages.net/up/18/35/73ub.png);
  background-repeat: no-repeat;
  padding-top: 240px;
}

.duskpub_cadre{
  width: 460px;
  height: 430px;
  background: #dce0da;
  border-radius: 10px;
  position: absolute;
  margin-left: 20px;
}

.duskpub_staff{
  width: 100px;
  height: 460px;
  background: url(https://www.zupimages.net/up/18/35/w2kr.png);
  left: 50px;
  right: 40px;
  position: relative;
}

.duskpub_imgstaff{
  position: relative;
  top: 15px;
  left: -45px;
  padding: 15px;
}

.duskpub_imgstaff div{
  position: absolute;
  top: 15px;
  width: 146px;
  height: 46px;
  border: 2px solid #eeefed;
  background: #dce0da;
  opacity: 0;
  transition: all 1.2s;
}

.duskpub_imgstaff div:hover{
  opacity: 1;
}

.duskpub_imgstaff h2{
  color: #d0a24a;
  font-size: 14px;
  font-family: 'Syncopate', sans-serif;
  letter-spacing: 4px;
  padding: 5px 5px 0px 5px;
  margin: 0px;
}

.duskpub_imgstaff p{
  color: #9d9897;
  font-size: 12px;
  font-family: Liberation serif;
  letter-spacing: 4px;
  text-align: left;
  padding: 5px;
  margin: 0px;
}

.duskpub_general h1{
  width: 250px;
  color: #d0a24a;
  font-size: 18px;
  font-family: 'Syncopate', sans-serif;
  letter-spacing: 3px;
  border-bottom: 5px double #d0a24a;
  position: relative;
  padding-bottom: 3px;
  top: 8px;
  left: 210px;
}

.duskpub_general > p{
  width: 250px;
  height: 140px;
  overflow: auto;
  margin: auto;
  color: #9d9897;
  font-size: 12px;
  font-family: Liberation serif;
  text-align: justify;
  position: relative;
  padding: 0px 5px;
  top: 5px;
  left: 85px;
}

#duskpub_stats{
  height: 70px;
  overflow: auto;
}

.duskpub_liens{
  width: 250px;
  height: 50px;
  overflow: auto;
  position: relative;
  left: 215px;
  top: 25px;
}

.duskpub_liens a{
  color: #d0a24a;
  font-size: 15px;
  text-decoration: none;
  font-family: Liberation serif;
  line-height: 25px;
  padding: 5px;
  transition: all 1s;
}

.duskpub_liens a:hover{
  color: #9d9897;
  font-weight: bold;
}

.duskpub_general > a{
  width: 250px;
  position: relative;
  left: 230px;
  top: 40px;
  color: #9d9897;
  font-size: 16px;
  text-decoration: none;
  font-family: Liberation serif;
  font-weight: bold;
  transition: all 1s;
}

.duskpub_general > a:hover{
  color: #d0a24a;
  font-size: 17px;
}

::-webkit-scrollbar { 
  width: 4px;
  height: 4px;
  background-color: #d0a24a;
  }

::-webkit-scrollbar-track { 
  background-color: #d3d8d9;
  }

::-webkit-scrollbar-thumb {
  background-color: #A9AFB0;
 }
              
            
!

JS

              
                
              
            
!
999px

Console