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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                <html>

<head>
  <title> Maria Mason</title>
</head>

<body>
  <nav>
    <ul class="topnav" id="dropdownClick">
      <li> <a href="#home"> Home</a> </li>
      <li> <a href="#news"> News </a> </li>
      <li> <a href="#contact"> contact </a> </li>
      <li> <a href="#about"> About </a> </li>
      <li class="topnav-right"> <a href="#signup"> Signup </a> </li>
      <li class="topnav-right"> <a href="#login"> Login </a> </li>
      <li class="dropdownicon"><a href="" onclick="">&#9776;</a></li>
    </ul>
  </nav>

  <div class="container" id="section-one">
    <div class="row">
      <div class="col-6">
        <div class="leftSide-col">

          <div>
            <h1 class="large"> Maria Mason </h1>
            <h1 class="large"> Your comfort is ours </h1>
          </div>
        </div>

        <form>
          <div class="leftSide-col">
            <h2>Username</h2>
            <input class="inputbox" type="text" placeholder="Username">
            <h2> Password</h2>
            <input class="inputbox" type="text" placeholder="Password">
          </div>
        </form>
      </div>
      <div class="col-6">
        <div class="rightSide-col">
          <div class="videoContainer">
            <iframe width="600" height="400" src="https://www.youtube.com/embed/rkmxSaVOrKk" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen> </iframe>
          </div>
        </div>

      </div>
    </div>
  </div>

  <header>
    <h1 class="sectionTwoheader"> Luxurios Linen </h1>
  </header>
  <div class="container">
    <div class="row">
      <div class="col-4">
        <div class="box">
          <label> Chat with Me</label>
          <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
            It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently
            with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
          </p>
        </div>
      </div>
      <div class="col-4">
        <div class="box">
          <label> Bedding </label>
          <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum
          </p>
        </div>
      </div>

      <div class="col-4">
        <div class="box">
          <label> See More </label>
          <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum
          </p>
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col-12"> </div>
      <button class="enter"> Enter </button>

    </div>
  </div>
  <hr>
  <div class="container">
    <div class="row">
      <div class="col-7">
        <article>
          <p> It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content
            here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy.
            Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
          </p>
        </article>

      </div>
      <div class="col-5">
        <iframe width="560" height="315" src="https://www.youtube.com/embed/YHTyH2nuFAw" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

      </div>
    </div>
  </div>
  
  <footer class="footer">
    <div class="row">
      <div clas="col-3 mobileStack">
        <h1> Company </h1>
        <ul>
          <li> About </li>
          <li> Blogs </li>
          <li> Careers </liv>
          </ul>
       </div>
   
  <div class="col-3  mobileStack">
        <h1> Company </h1>
        <ul>
          <li> About </li>
          <li> Blogs </li>
          <li> Careers </liv>
          </ul>
       </div>
  
  <div class="col-3  mobileStack">
        <h1> Company </h1>
        <ul>
          <li> About </li>
          <li> Blogs </li>
          <li> Careers </liv>
          </ul>
       </div>
  </div>
  </footer>

</body>

</html>
              
            
!

CSS

              
                /****** DEFAULTS***** */

nav, header, footer {
  display: block;
}

body{
  line-height: 1;
  margin: 0;
}

label {
  font-size: 35px;
  font-weight: 600;
}

article p{
  font-size: 20px;
  padding: 30px;
}

p {
  font-size: 20px;
  padding: 1%;
}



.container {
  width: 100%;
  margin: auto;
  padding-top: 4%;
  padding-bottom: 4%;
}

.row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  
}

.row::after {
  display: table;
  clear: both;
  content:"";
  }

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

* {
  box-sizing: border-box;
}

/*  custome style */

#section-one {
  
  background: linear-gradient(-90deg, #ADD8E6, #808080);
  
}

div.box {
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0, .15), 0 2px 3px 0 rgba(0,0,0,.1);
  text-align: stretch;
  border-radius: 4%;
  margin: 24px;
  padding: 36px 24px 40px 24px;
  
 
}

button {
  font-size: 40px;
  font-weight: 600px;
  background-color: #f9d1af;
  padding: 15px 60px;
  display: block;
  text-align: center;
  margin: 5px;
  border-radius: 7px;
}

button.enter {
  display: block;
  margin: auto;
}


h1.sectionTwoheader {
  font-size: 60px;
  text-align: center;
}

.leftSide-col {
  margin-left: 10%;
  
}

.rightSide-col {
  margin-left: 10%;
  
}



h1.large {
  color: white;
  font-size: 53px;
  margin: 0;
  line-height: 50px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 1%;
  
}

form h2{
  color: white;
  padding: 1%;
}



/****** NAV BAR ***** */

nav {
  width: 100%;
  margin: 0;
    
}

nav ul {
  background-color: #F4A460;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

ul.topnav li {
  list-style: none;
  float: left;
}

ul.topnav li.topnav-right{
  
  float: right;
}

ul.topnav li a {
  display: block;
  text-decoration: none;
  min-height: 20px;
  text-align: center;
  padding: 36px;
  text-transform: uppercase;
  color: #687796;
  
  
}

ul.topnav li a:hover {
  background-color: #008695;
  color: #FF9933;
  text-decoration:underline;
  transition: all .70s ease;
    
}

ul.topnav li.dropdownicon {
  display: none;
}


input [type="text"]{
  font-size: 5000px;
  width: 400px;
  padding: 1%;
  min-width: 100px;
  border-radius: 7%;
   
}

footer.footer {
  background-color: #666;
  padding-left: 5%;
}

fotter.footer h1 {
  color: fff;
  font-size: 35px;
}


footer.footer ul {
  list-style: none;
  text-align: left;
  padding-left: 0;
}

footer.footer ul li {
  font-size: 20px;
  color: #fff;
  line-height: 1;
}



/*MOBILE*/

@media screen  and (max-width: 680px) {
  ul.topnav li:not(:nth-child(4)) {
    display: none;
  }
  
  ul.topnav li.dropdownicon {
    display: block;
    float: right;
  }
  
  #sectionTwoheader {
    font-size: 50px;
    
  }
  
  article p {
    font-size: 20px;
    
  }
  
 iframe {
    width: 100%;
   margin: 0%;
  }
  
  .col-6, .col-4, .col-5, col-7 {
    width: 100%;
    margin: 0%;
  }
  
  div.mobileStack{
    width: 50%;
    display: block;
    
  }
  
  div.box {
    padding: 5px;
    display: block;
  }
  
  div.leftSide-col, div.rightSide-col {
    margin: 15px;
    }
  
 .videoContainer iframe{
    position:relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    
  }
  
 
}
              
            
!

JS

              
                function downMenu () {
  var drp = document.getElementById("dropClick");
  if (drp.className === "topnav")
    {
      drp.className += " responsive";
      /* change top name to topnav responsive */
      
    } else {
      drp.className="topnav";
    }
}

              
            
!
999px

Console