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.

            
              
<html>

    <head>

        <link rel="stylesheet" type="text/css" href="styles.css">

        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title>Portfolio assignment</title>


    </head>

    <body>

        <div class="wrapper">

        <div class="header">

          <div class="container">

           <img class="owl" src="http://www.free-icons-download.net/images/owl-icon-75506.png" alt="owl icon">



          <ul class="nav-bar">

            <li><a class="page-link" href="#about">About</a></li>
            <li><a class="page-link" href="#portfolio">Portfolio</a></li>
            <li><a class="page-link" href="#contact">Contact</a></li>

          </ul>
         </div>

       </div><!--end of header-->

    </div><!--end header wrapper-->

        <div class="wrapper">

        <div class="main">

            <div class="container">

            <a id="about">

           <div class="container intro">

             <h2>Lorem Ipsum jest tekstem stosowanym jako przykładowy wypełniacz w przemyśle poligraficznym.
                 Został po raz pierwszy użyty w XV w.
                 przez nieznanego drukarza do wypełnienia tekstem próbnej książki.
             </h2>

             <div class="main-image">

                 <!--<img src="https://ichef-1.bbci.co.uk/news/1024/cpsprodpb/693C/production/_95804962_p0517py6.jpg"
                 alt="Grey kitten licking it's nose"> -->

             </div><!--end main img-->

            </div><!--end intro-->


                <a id="portfolio">

             <div class="container portfolio">

                 <h2 class="portfolio-title">PORTFOLIO</h2>

               <hr class="underline">

            <div class="portfolio-placeholders">

              <div class="placeholder">
                <img src="http://thesoundofantler.com/public/DONUT%20PH.png">
            </div><!--end placeholder-->

                <div class="placeholder">
                <img src="http://thesoundofantler.com/public/FARMERS%20PH.png">
            </div><!--end placeholder-->

                <div class="placeholder">
                <img src="http://thesoundofantler.com/public/SOA%20PH.png">
               </div><!--end placeholder-->

                <div class="placeholder">
                    <img src="http://thesoundofantler.com/public/BAR%20PH.png">
               </div><!--end placeholder -->

                <div class="placeholder">
                <img src="http://thesoundofantler.com/public/PEARLS%20PH.png">
               </div><!--end placeholder -->

                <div class="placeholder">
                <img src="http://thesoundofantler.com/public/YARNS%20PH.png">
               </div><!--end placeholder -->


            </div><!--end portfolio-placeholder-->

                </div><!--end portfolio-->

               <a id="contact">

               <div class="container contact">

                 <h2>Contact me</h2>

                 <hr class="underline">

                  <div class="form-style">

  <form>

		<input name="name" placeholder="Name" class="name" required />

		<input name="emailaddress" placeholder="Email" class="email" type="email" required />

    <textarea rows="4" cols="32" name="subject" placeholder="Message" class="message" required></textarea>

    <input name="submit" class="btn" type="submit" value="Send" />
</form>
 </div><!--end form-->



        <div class="contact-text">

            <h2>Wszystkie Internetowe generatory Lorem Ipsum mają tendencje do kopiowania już
                istniejących bloków, co czyni nasz pierwszym prawdziwym generatorem w Internecie.

              <br></br>

                Używamy zawierającego ponad 200 łacińskich słów słownika, w kontekście wielu znanych sentencji.
            </h2>

        </div><!--end contact-text-->

        </div><!--end contact-->

        <div class="container social">

            <div class="social-left">

              <div class="social-text">


               <span class="social-about-text">About this page</span>

                <span> Made with cats and dogs </span>
            <span>by Joceline Colvert</span>

              </div><!--end social-text-->

            </div><!--end social-left-->

            <div class="social-right">

       <div class="placeholder-social">
         <img src="http://thesoundofantler.com/public/if_github_2308116.png">
       </div>

        <div class="placeholder-social">
          <img src="http://thesoundofantler.com/public/if_linkedin_2308061.png">
        </div>

       <div class="placeholder-social">
         <img src="http://thesoundofantler.com/public/if_twitter_2308045.png">
       </div>

       <div class="placeholder-social">
         <img src="http://thesoundofantler.com/public/Instagram-icon.png">
      </div>

            </div><!--end social-right-->

            </div><!--end social-->

            </div><!--end of container-->

        </div><!--end of main-->

    </div><!--end of main wrapper-->

    <div class="wrapper">

        <div class="footer">

          <div class="footer-text">
            J Colvert ©
    <script>document.write(new Date().getFullYear())</script>. All Rights Reserved


          </div><!--end footer-text-->

        </div><!--end footer-->

    </div><!--end footer wrapper-->

    </body>

     <script
        src="https://code.jquery.com/jquery-3.2.1.min.js"
        integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
        crossorigin="anonymous"></script>

    <!-- this script does the scrolling -->
    <script>
        // this line makes the code run after all the elements have rendered
        $(function() {
            // this line collects all the "a" tags with class "page-link" and attaches a function to run when the element is clicked
            $('a.page-link').on('click', function(event) {
                // this line prevents the default behaviour (jump to link) as we are going to do that
                event.preventDefault();
                // this line attaches an animation to html (for firefox) or body (for all the other browsers)
                $('html, body').animate({
                    // we are animating the "scrollTop" DOM property to the top offset position of the named anchor
                    // that matches the "href" attribute of the element that was clicked
                    scrollTop: $($.attr(this, 'href')).offset().top
                }, 600); // time to take animating (500 milliseconds)
            });
        });
    </script>


</html>

            
          
!
            
              

*, *:before, *:after {
  box-sizing: border-box;
}

body {
    background-image:url(https://forrst-live.s3.amazonaws.com/multiposts/images/17080/original.png);
    background-repeat:repeat;
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-weight: light;
}

.wrapper {
    width: 100%;
}

.header {
  width: 100%;
  height: 50px;
  margin: 0;
  padding-top: 14px;
  background-color: yellow;
  display: flex;
  position: fixed;
  z-index: 1;
}

.main {
  padding-top: 50px;
}

.container {
  margin: auto;
  padding: 0;
  width: 1000px;
  position: relative;
}



ul {
  list-style-type: none;
    margin: 0;
    padding: 0;
}



.owl {
  height: 42px;
  width: 42px;
 padding-bottom: 10px;
  margin-top: -5px;
  position: absolute; /*this didn't seem to do anythng*/
  left: 0
}

.nav-bar owl {
  margin-top: 0;
}


.nav-bar {
    height: 150px;
    font-size: 16px;
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: bold;
    text-align: center;
  background-color: transparent;
  display: flex;
  justify-content: flex-end;
}

ul.nav-bar {
  list-style-type: none;
}

.nav-bar li {

  padding: 0 20px;
}

.nav-bar li:last-child {
  padding-right: 0;
}

.nav-bar a {
  text-decoration: none;
    color: #00F;
    padding: 8px 8px 8px 8px;
}

li a:hover {
    color: #d14ce6;
    background-color: #efceee;
}

.intro {
  padding: 20px;
  display: flex;
  align-items: center;
  background-color: #eff3cc;
}
.intro h2 {
  text-align: justify;
  padding-right: 1rem;
}

.main-image {
  height: 200px;
  min-width: 200px;
  border-radius: 50%;
  background-image: url('https://ichef-1.bbci.co.uk/news/1024/cpsprodpb/693C/production/_95804962_p0517py6.jpg');
  background-size: cover;
  background-position: 80%;
  background-repeat: repeat-none;
}

.portfolio {
  height: 1100px;
  width: 1000px;
 padding: 20px;
  background-image:url(http://24.media.tumblr.com/d6946dbae92220c65838e861a365affb/tumblr_mzs9uzNKDZ1qddrn0o1_500.gif);
  background-repeat:repeat;
}


.portfolio-title {
  text-align:center;
  color: white;
  font-weight: lighter;
}

.portfolio-placeholders {
  display:flex;
  flex-flow:row wrap; /* Shorthand for flex-wrap:wrap; flex-direction:row; */
  justify-content:center;
  max-width:1000px; /* Limited width to force two images per row */
  margin:0 auto; /* Center the div */
}

.placeholder img {
  margin: 30px;
  height: 250px;
  width: 350px
}


.contact {
  height: 600px;
  width: 1000px;
 padding: 20px;
   background-image:url(http://mt-st.rfclipart.com/image/big/56-85-35/seamless-cloudy-sky-background-Download-Royalty-free-Vector-File-EPS-14194.jpg);
  background-repeat:repeat;
}

.contact h2 {
text-align: center;
width: 100%;
}

.contact-text {
  width: 350px;
  height: 400px;
  position: relative;
  left: 500px;
  bottom: 400px;
}

.form-style {
  height: 400px;
  width:400px;
  border: 1px solid  #84c6cc;
  padding: 5px 10px;
  border-radius: 10px;
  background-color: white;
  margin: 60px 60px 60px 40px;
}

.form-style input {
    width:100%;
    border-style: solid;
  border-radius: 5px;
    border-width: 0 0 2px;
    border-color: #84c6cc;
    padding: 5px;
	  margin: 10px 0;
}

.message {
  font-family: Arial, Helvetica, sans-serif;
  padding: 5px;
}

.form-style textarea {
  border-style: solid;
  border-radius: 5px;
    border-width: 0 0 2px;
    border-color: #84c6cc;
  border-radius: 5px;
    outline: 0;
    margin: 3px;
  width: 370px;
  height:220px;
}

.form-style .btn {
  border-radius: 5px;
  border-bottom: none;
  width: 55px;
  background-image:
    linear-gradient(
      #b3d9ff ,#84c6cc
    );
}

.social {
  height: 100px;
  width: 1000px;
 padding: 9px;
  background-color: #d14ce6;
  display: flex;
  justify-content: space-between;
}


.placeholder-social img {
    height: 60px;
    width: 60px;
}


.social-right {
  display: flex;
    justify-content: space-between;
  width: 300px;
  margin-top: 10px;
}

.social-left {
    justify-content: space-between;
  width: 300px;
  margin-top: 1px;
}

.social-text {
   height:100px;
  width:400px;
  margin: 1px 0 5px 30px;
   color: #191673;
}

.social-text span{
  font-size: 17px;
  margin: 1px;
  display: block;
}

.social-text span.social-about-text{
 margin-bottom: 10px;
 color: blue;
}

.footer {
   width: 100%;
  height: 50px;
  margin 0;
  background-color: yellow;
}


.footer-text {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

hr.underline {
  width: 40%;
    height: 5px;
  background-color:#FF0066;
  border: 0 none;
  margin-top: 28px;
}

            
          
!
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