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

              
                <!DOCTYPE html>
<head>
    <html lang ="eng">
    <meta charset="UTF-8">
        <title>Welcome</title>
        <link rel="stylesheet" href="css-for-cycle.css">
</head>
<body>
    <section class="hero">
        <div class="hero-inner">
            <h1 id="mainhead">WONDERFULL CYCLES</h1>
            <P id="mainpara">Making Lives Easier</P>
   
        </div>
    </section>

    <!--PORTFOLIO-->

    <div id="portfolio">
        <h2 id="porthead">Checkout Our Other Models To</h2>
  

        <!--GALLERY-->
        <div class="container">

             <div class="gallery">
                 <img class="gal-img" src="https://cdn.shopify.com/s/files/1/0155/3037/products/Nature_Boy_853.jpg?v=1486170567"/>
                 <p class="model">Aplha X</p>
              </div>
         

        
           <div class="gallery">
              <img class="gal-img" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRROSnWfsUekVta8nOXJLdUYGDgMkjyKgQKsBWk7kPgFPb2cD5j"/>
                <p class="model">Nucleus</p>
            </div>
        

     
           <div class="gallery">
            
            <img class="gal-img" src="https://5.imimg.com/data5/HH/WN/MY-26779310/bmw-folding-cycle-500x500.jpg"/>
            <p class="model">T-Force</p>
        </div>

      

         
            <div class="gallery">
                <img class="gal-img"    src="https://contents.mediadecathlon.com/p1342363/k$10bdd7c92aa9e1a33aee8efb9a25907d/btwin-rockrider-100-8-12years-kids-cycle.jpg?&f=800x800"/>
             <p class="model">Rodeo</p>
          </div>
         

        
            <div class="gallery">
                <img class="gal-img" src="https://rukminim1.flixcart.com/image/300/300/cycle/m/t/j/s365bbdur02-hero-18-urban-original-imaemsqk3gkgqhyx.jpeg?q=90"/>
            <p class="model">Urbanizer</p>
           </div>
          

        </div>
      </div>


    <!---SECTION-->
    
 
    <div id="section">   
        <h3 id="loved">Loved Our Cycles</h3>
        <P class="fillform">Get your self a new
            </br> 
            Cycle
        </p>

        <p class="fillform">Begin your Journey</p>
    </div>

    <!--FORM SECTION-->

    <div id="formsection">
        <form id="contact" action="#null">
            <h1 id="form-head">Contact Us</h1>
        
        <div id="mid-form">
        
            <label class="form-label">*Name</label>
            <input class="input-fields" type="text" name="usrnm" placeholder="YOUR NAME HERE" required> 
            
        </br>

            <label class="form-label">*Email</label>
            <input class="input-fields" type="email" name="emle" placeholder="xyz@abc.com" required/>

        </br>

            <label class="form-label">*Contact Number</label>
            <input class="input-fields" type="tel" maxlength="10" placeholder="Mobile Number" required/>

        </br>

            <label class="form-label">Message</label>
            <textarea class="input-fields" rows="10" cols="22" form="contact" ></textarea>
        </br>
            <input id="btn" type="submit">

        </div>

        </form>
    </div>
</body>
<footer>
    <p id="foot-txt">&copy;2019-20 WONDERFULL Cylces</p>
</footer>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Cinzel|Lobster|Muli');

*{
    padding: 0;
    margin: 0;
}
body{
    background: rgba(255, 255, 255, 0.87);
    width: 100%;
    height: 100%;
    }

    /*HERO HEADING*/

#mainhead{
    color:white;
    font-size: 3.5em;
    text-shadow: .09rem 0.30rem .2rem purple;
    /*font-family: 'Cinzel', serif;*/
    /*font-family: 'Muli', sans-serif;*/
    font-family: 'Lobster', cursive;
    letter-spacing: 10px;
    margin-top: 0;
    margin-bottom: 0.8em;
}

    /*HERO paragraph*/

#mainpara{
    color:white;
    font-size:1.3rem;
    font-family: 'Cinzel',serif;
    text-decoration:underline overline wavy;
}

    /*--HERO--*/

.hero{
        /*SIZING*/
    width: 100vw;
    height: 100vh;

    /*Flexbox Stuff*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    /*Background Styles*/
    background-image:linear-gradient(rgba(112, 27, 131, 0.411),rgba(24, 16, 20, 0.5)), url(https://www.setaswall.com/wp-content/uploads/2017/06/Bicycle-Wallpapers-17-1920-x-1200.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

    /*portfolio*/

#portfolio{
    background: linear-gradient(72deg, rgb(20, 211, 100), rgb(10, 159, 228));
    border-top: 2px solid rgb(12, 182, 77);
    /*align-content: center;*/
    padding-top: 50px;
    text-align: center;
}

    /*Portfolio Heading*/

#porthead{
    color:white;
    text-shadow:  0em 0em .2em black;
    font-size:2em;
    padding-bottom: 2em;
    text-align: center;
}

    /*Gallery Images SIZE*/

.gal-img{
    width: 20em;
    height: 13em;
}

    /*ARRANGE GALLERY (*PROBLEM AREA*)*/

.container{
  max-width:1400px;
  margin:40px auto 0 auto;
 /* background-color:#fff567;*/
  padding:30px 0;
  display:flex;
  justify-content:flex-start;
  flex-wrap: wrap;
  align-items:center;
  text-align:center;
  color:white;
  font-weight:900;
  }
.gal-img{
  margin:5px;
}
.model{
  font-size:1.5em;
  font-style:oblique;
}


    /*SECTION*/ 
#section{
    text-align: center;
    padding-top: 2em;
    /*margin-top: 0.1em;*/
    background-image:linear-gradient(rgba(0, 0, 0, 0.055),rgba(0, 0, 0, 0.322)), url(https://sacredrides.com/sites/default/files/u139/Screen%20shot%202015-03-27%20at%204.29.17%20PM.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 60vh;
    width:100vw;
    /*margin-left: auto;
    margin-right: auto;*/
    background-attachment: fixed;
    
}
#loved{
    color:white;
    font-size: 2.5em;
    font-family: 'Cinzel', serif;
    text-shadow: 0em .1em .2em rgb(50, 25, 78);
    letter-spacing: 0.2em; 
    padding-top:1em;
    
}

.fillform{
    color: white;
    font-size: 1.5em;
    font-family: 'Cinzel', serif;
    text-shadow: 0em .1em .2em rgb(50, 25, 78); 
    letter-spacing: 0.5em; 
    padding-top:2em;
  }

    /*FORM SECTION*/

#formsection{
      background:repeating-linear-gradient(60deg, rgb(231, 19, 82),rgb(6, 192, 177));
      width:auto; 
      text-align: center;
}
#mid-form{
    text-align: center;
    margin-left:7em;
}
.form-label{
    display: block;
    text-align: left;
    
}
.input-fields{
    text-align: center;
}

/*SUBMIT BUTTON*/

#btn{
    border-radius: 15%;
    width: 8em;
    height: 2em;
    border: 20px dotted gold;
    border: double;
    background: purple;
    color:white;
    font-size: 1em;
    margin-top:3em;
    margin-bottom:2em;
}

/*FOOTER*/
footer{
    background: grey;
    color:white;
    padding-top:2em;
    padding-bottom: 1em;
}

              
            
!

JS

              
                
              
            
!
999px

Console