css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
                  <!-- NavBar -->
    
    <div class="navBar" id="topNavBar">
        <a href="#Home" class="active">Romain Straet <i class="fa fa-camera"></i> Family</a>
        <a href="#Me">Qui suis-je ?</a>
        <a href="#Gallery">Gallerie</a>
        <a href="#Pricing">Formules</a>
        <a href="#Contact">Contact</a>
        <a href="javascript:void(0);" class="icon right" onclick="topNavBar()">
            <i class="fa fa-reorder"></i></a>
        <a href="#Instagram" class="right">
            <i class="fa fa-instagram"></i></a>
        <a href="#Facebook" class="right">
            <i class="fa fa-facebook"></i></a>
    </div>

    <!-- Header -->
    
    <div class="header" id="Home">
            
    </div>
    
    <!-- Qui Suis-je ? -->
    
    <div class="me" id="Me">
    
        <h1> Qui suis-je ?</h1>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fringilla ut ligula in mollis. Morbi tellus lorem, commodo at pharetra ac, placerat sit amet dolor. Suspendisse potenti. Nam a erat lacinia, aliquet tortor eu, pellentesque ligula. Vivamus imperdiet vitae nunc nec sagittis. Aenean tempus, odio eget molestie fringilla, dui risus pretium erat, in ultrices eros dui et leo. Nulla dignissim rhoncus est et tincidunt. Vestibulum in euismod sapien. Sed vel elit eget mauris molestie posuere. Vestibulum semper ac dui et iaculis. Nulla tortor nisl, venenatis id rhoncus scelerisque, laoreet eu diam. Ut id venenatis arcu.</p>

    <p>Proin vitae pulvinar dui. Curabitur elementum ut massa a placerat. Aliquam mattis risus id tellus mollis, lobortis egestas urna convallis. Donec at nulla consectetur, sollicitudin ligula sed, vestibulum ex. Integer malesuada, risus vitae lacinia accumsan, metus urna vehicula nisi, in pretium est libero id lectus. Fusce in odio quis est ullamcorper vestibulum. Aenean tristique urna a elementum sollicitudin. Phasellus aliquam metus sed tortor mattis, non ullamcorper felis consequat.</p>
    </div>

    
    <!-- Gallerie -->
    
     <!-- Qui Suis-je ? -->
    
    <div class="gallery" id="Gallery">
    
        <h1>Gallerie</h1>
        
        <div class="gallerycont">
        <div class="big"><img src="https://preview.ibb.co/nw7G8H/10_min.jpg"></div>
                  
        <div><img src="https://preview.ibb.co/gqbXhc/11_min.jpg"></div>
        <div class="big"><img src="https://preview.ibb.co/duSG8H/12_min.jpg"></div>
        <div><img src="https://preview.ibb.co/nsLQ2c/13_min.jpg"></div>
      
        <div><img src="https://preview.ibb.co/dS1yNc/14_min.jpg"></div>
        <div><img src="https://preview.ibb.co/b6pk2c/15_min.jpg"></div>
        <div><img src="https://preview.ibb.co/igx52c/16_min.jpg"></div>
        <div class="vertical"><img src="https://preview.ibb.co/bW2Bax/7_min.jpg"></div>
        <div><img src="https://preview.ibb.co/bTGyNc/17_min.jpg"></div>
        <div><img src="https://preview.ibb.co/k4TChc/18_min.jpg"></div>
        <div class="big"><img src="https://preview.ibb.co/ckTv2c/2_min.jpg"></div>
        <div><img src="https://preview.ibb.co/cP7Nhc/3_min.jpg"></div>
        <div><img src="https://preview.ibb.co/ku3jvx/4_min.jpg"></div>
        <div class="vertical"><img src="https://preview.ibb.co/eXHBax/5_min.jpg"></div>
        <div><img src="https://preview.ibb.co/gbLm8H/6_min.jpg"></div>

        <div><img src="https://preview.ibb.co/jc3pTH/8_min.jpg"></div>
        <div><img src="https://preview.ibb.co/h6vm8H/9_min.jpg"></div>
      
        </div>
        
    </div>
    
    <!-- Prix -->
    
    <div class="pricing" id="Pricing">
        <h1>Les Formules</h1>
        <div class="pricingcont">
            <div class="formule">3 à 12 mois
        </div>
        <div class="formule">Enfant</div>
        <div class="formule">Famille</div>
        <div class="formule">Maternité</div>
            
        </div>
        <h1 class="shadow">200 EUR par séance</h1>
        <div class="comprend">
            <div class="comprenditem"><h3>Comprend :</h3></div>
         <div class="comprenditem"><p>Séance d'environ 1h30</p>
            <p>Minimum 10 photos HD retouchées</p>
            <p>Utilisation illimitée des photos</p></div></div>
    </div>
    
    <!-- Contact Form -->
    
    <div class="contact" id="Contact">
        <div class="contactcont">
            
    
        <h1>Contactez-moi</h1>
                <p>Par téléphone : 0495 14 85 63</p>
            <p>Ou via le formulaire ci-dessous</p>
        <form action="mailto:romainstraet@gmail.com">
        <div><input type="text" name="nom" placeholder="Votre nom et prénom" required></div>
        <div><input type="email" name="mail" placeholder="Votre adresse e-mail" required></div>
        <div><input type="text" name="telephone" placeholder="Votre numéro de téléphone" required></div>
            <div><textarea placeholder="Votre message" required></textarea></div>
        <div><input type="submit" value="Envoyer"></div>
        </form>
    </div></div>
    
    <!-- Footer -->
    
    <div class="footer">Romain Straet <i class="fa fa-camera"></i> Family</div>

            
          
!
            
              * {
    box-sizing: border-box;
}

body {
	margin: 0;
	height:100%;
    font-family: 'Amatic SC', serif;
    background-color: white;
}

h1 {
font-size: 45px;
    text-align: center;
    }

h3 {
    font-size: 35px;
       text-align: center;
}

p{
    font-size:16px;
    line-height: 28px;
    letter-spacing: 1px;
    font-family: 'Merriweather', serif;
    font-weight: lighter;
}

/* NavBar */

.navBar {
    overflow: hidden;
    background-color: #333;
}

.navBar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 25px;
}

.active {
    color: #04DEAD;
    font-weight: bold;
    letter-spacing: 2px;
}

.navBar a:hover {
    background-color: #111;
}

.navBar a.right {
    float: right;
 
}

.middle{
    vertical-align: middle;
}


.navBar a.icon {
    display: none;
}

@media screen and (max-width: 800px) {
  .navBar a:not(:first-child) {display: none;}
  .navBar a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 800px) {
  .navBar.responsive {position: relative;}
  .navBar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navBar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/* Header */

.header {
    background-image: url("https://www.digitalimpact.co.uk/wp-content/uploads/2015/07/Ultimate-Stock-Photography-Cover.jpg");
    background-position: center center;
    background-size: cover;
    text-align:center;
    padding-top : 200px;
    padding-bottom: 200px;
    color: white;

}

.header img.responsive{
    border-radius:50%;
    width:30%;
    box-shadow: 0 0 200px #937ba3;
}

/* Qui suis-je ? */

.me {
    margin: auto;
    padding-right: 16px;
    padding-left:16px;
    padding-top:0;
    padding-bottom:20px;
    max-width: 900px ;
}

/* Gallerie */

.gallery {
    margin: auto;
    padding-right: 16px;
    padding-left:16px;
    padding-top:1px;
    padding-bottom:50px;
    background-color: #EBEBEB;
}

.gallerycont {
    margin: auto;
    max-width: 900px ;
    display: grid;
    grid-gap: 2px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}

.gallery .gallerycont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery .gallerycont img:hover {
opacity:0.5;
}


.horizontal {
    grid-column: span 2;
}

.vertical {
    grid-row: span 2;
}

.big {
    grid-column: span 2;
    grid-row: span 2;
}

/* Pricing */

.pricing {
    margin: auto;
    padding-right: 16px;
    padding-left:16px;
    padding-top:0;
    padding-bottom:40px;
    max-width: 950px ;
    background-color:white;
}

.pricingcont {
    padding: 0;
    margin: auto;
    display: flex;
    flex-flow: row wrap;
    justify-content:space-around;
}



.formule {
    border-radius:5px;
    background-color:#66d3fc;
    box-shadow: 0 0 30px 0 #caf0fe;
    width:200px;
    flex-grow: 1;
    padding: 15px;
    margin:8px;
    line-height: 30px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
}

@media screen AND (max-width: 500px) {
    .pricingcont {
        flex-flow: column;
        max-width:500px;
        justify-content: center;
    }
}

@media screen AND (max-width: 900px) {
    .pricingcont {
        flex-flow: row wrap;
        max-width:600px;
        justify-content: center;
    }
    .formule {
        width:250px;
    }
}

.pricing p {
    text-align: center;
}

.comprend {
        padding: 0;
    margin: auto;
    display: flex;
    flex-flow: row wrap;
    justify-content:center;

}

.comprenditem {
    padding-right:30px;
        padding-left:30px;
}

.shadow {
    color:#fc6688;
    font-weight: bold;
}

/* Contact */

.contact {
    margin: auto;
    padding-right: 16px;
    padding-left:16px;
    padding-top:1px;
    padding-bottom:20px;
    background-color:#04DEAD;
    text-align: center;
    color: white;
    
}

.contactcont {
    max-width:450px;
    margin: auto;
}

input {
    width:100%;
        padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 6px solid #66d3fc;
        font-size:13px;
    font-family: 'Merriweather', serif;
}

input[type=submit]{
    background-color:#fc6688;
    color:white;
    border: none;
    outline:none;
        font-size:16px;
  
}

input[type=text]:focus {
    outline: none;
    border: 3px solid #66d3fc;
}

input[type=email]:focus {
    outline: none;
    border: 3px solid #66d3fc;
}

textarea {
        width:100%;
    height:125px;
        padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 6px solid #66d3fc;
            font-size:13px;
    font-family: 'Merriweather', serif;
}
}

.contact h1 {
    color:white;
}

/* Footer */

.footer {
    background-color: #333;
    text-align:center;
    padding-top : 15px;
    padding-bottom: 15px;
    color: white;
    font-size: 22px;
        letter-spacing: 2px;
}
            
          
!
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.
Loading ..................

Console