123

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm 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. We'll also process your JavaScript with Babel.

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

Code Indentation

     

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.

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.

            
              <!doctype html>
<html lang="fr">
<head>
  <meta charset="utf-8">
  <title>Concours Epicode</title>
  <link rel="stylesheet" href="style.css">
  <script src="script.js"></script>
  <link href="https://fonts.googleapis.com/css?family=Dancing+Script" rel="stylesheet">
  <style>
  /* BLOC TITRE CATEGORIE */
.categ{
margin:10px auto;
width:800px; 
padding:10px 0; 
border-radius:15px; 
text-align:center;
background:#BBD4E0; ; 
}

/* TITRE CATEGORIE */
.categ h2{
margin:0 auto;
font-size:30px; 
font-variant: small-caps;
letter-spacing:3px;
font-family:'Dancing Script', cursive;
color:white; 
}

a:hover {
text-shadow: 1px 1px 1px white;} 

/* BLOC FORUM */
.blocFRM {
margin-bottom:10px; 
text-align:center;
font-family:Arial; 
}

/* BLOC TITRE / NOMBRE SUJETS & MESSAGES / DESCRIPTION FORUM */
.boxFRM {
display:inline-block; vertical-align:top; 
width:560px;
 height:135px; 
 border-radius:10px;
 overflow:hidden;
 background-image:url("https://www.roomit.nl/media/catalog/product/cache/1/image/1200x900/17f82f742ffe127f42dca9de82fb58b1/7/3/73196-8.jpg");
}

/* BLOC TITRE FORUM */
.titreFRM {
display:inline-block; 
vertical-align:top;
width:550px; 
height:22px; 
padding:5px 0 5px 10px;
text-align:left; 
font-weight:bold; 
font-size:26px; 
background:#BBD4E0; 
border-radius:10px;
font-family:'Dancing Script', cursive;
}

/* TITRE FORUM */
.titreFRM a {
color:#7994A0 !important; 
}

/* NOMBRE SUJETS & MESSAGES FORUM */
.nbFRM {
display:inline-block; vertical-align:top;
width:165px; 
height:17px; padding-top:5px; 
border-top:3px solid; 
text-align:center;
 font-size:10px; 
 text-transform:uppercase;
background:transparent; color:#191919; 
border-top-color:#7994A0; 

}
/* DESCRIPTION FORUM */
.descFRM {
height:75px; 
width:545px;
padding:5px; 
overflow:auto;
text-align:justify; 
font-size:11px;
background-position:top;
background:rgba(250,250,250,0.6); 
color:black; 
}

/* ICÔNES FORUM */
.imgFRM {
display:inline-block; 
vertical-align:top; 
margin:0 10px;
width:80px;
 height:100px;
 border-radius:10px;
}
/* BLOC DERNIER MESSAGE / SOUS-FORUMS */
#lsfFRM {
display:inline-block; 
vertical-align:top;
}

/* DERNIER MESSAGE FORUM */
.lmsgFRM {
width:135px; 
height:100px;
 padding:10px 5px 0;
 border-radius:10px 10px 0 0; 
 overflow:hidden;
font-size:11px; 
text-align:center; 
line-height:16px;
background:rgba(250,250,250,0.8);
 color:black; 
}

/* BANDE SOUS-FORUMS */
.sfFRM {
width:132px;
 height:25px; 
 border-radius:0 0 10px 10px;
 text-align:center;
background:#BBD4E0;
 color:black; 
}

/* CONTENU SOUS-FORUMS */
.sfFRM div {
position:absolute; 
z-index:2; 
margin-top:-130px;
width:135px; 
height:0; 
overflow:hidden; 
border-radius:10px 10px 0 0; 
text-align:center; 
font-size:11px;
line-height: 2;
background:#DEDEDE; 
transition:all 0.45s linear; -webkit-transition:all 0.45s linear;
}

.sfFRM:hover div {
width:125px; 
height:100px; 
padding:5px; 
overflow-y:auto;
}

/* LIENS SOUS-FORUMS */
.sfFRM div a{
font-variant:small-caps; 
color:black !important; 

}
  </style>

</head>
<body>


        <div class="categ"><h2>1ere Catégorie</h2></div>

    <div class="blocFRM"><div class="boxFRM"><div class="titreFRM">
 <a href="#">1er pas sur le forum</a></div>
 <div class="nbFRM">3 sujets ♦️ 6 réponses</div>
 <div class="descFRM">Per hoc minui studium suum existimans Paulus, ut erat in conplicandis negotiis artifex dirus, unde ei Catenae inditum est cognomentum, vicarium ipsum eos quibus praeerat adhuc defensantem ad sortem periculorum communium traxit. et instabat ut eum quoque cum tribunis et aliis pluribus ad comitatum imperatoris vinctum perduceret: quo percitus ille exitio urgente abrupto ferro eundem adoritur Paulum. et quia languente dextera, letaliter ferire non potuit, iam districtum mucronem in proprium latus inpegit. hocque deformi genere mortis excessit e vita iustissimus rector ausus miserabiles casus levare multorum.</div></div>
 <img class="imgFRM" img src="https://media.discordapp.net/attachments/365433993983688705/398225763637264397/unknown.png" />
 <div id="lsfFRM"><div class="lmsgFRM">
 <a href="#">Dernier message posté</a><img src="https://cdn.discordapp.com/attachments/365433993983688705/398226361640026122/petitboutondenouveaute.png"> </br> 25 janvier 2018 ♦️ 15:14 </br> <b><a href="#">Admin</a></b> </div>
 <div class="sfFRM">+<div><a href="#">Sous forum 1</a> </br><a href="#">Sous forum 2</a> </br><a href="#"> Sous forum 3</div></div>
 <script type="text/javascript">$('.sfFRM').each(function(){$(this).html($(this).html().replace(/>, /g,"><br /> "));});</script></div></div>
    
</body>
</html>
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console