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. 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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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 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

              
                <!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <title>khasteh</title>
  <meta charset="UTF-8">
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="css/normalize.css" rel="stylesheet">
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.css" rel="stylesheet">
  <link href="css/style.css" rel="stylesheet">
</head>

<body>
  <header>
    <div class="logo">
      <h1>
        <img src="images/logo.png" alt="cherry-picked.ir" class="logo__img">
      </h1>
    </div>
  </header>
  <main>
    <div class="slider">
      <h2>TEMPATE FOR YOUR COMPANY</h2>
      <p>WEB SITE FOR BUSINESS</p>
      <div class="date">
        <span>Web nov 19 214</span>
        <span>04:35</span>
      </div>
      <span class="join-us">JOIN US</span>
    </div>

    <section class="welcom">
      <h2 class="welcom-title">welcom to our site!</h2>
      <div class="clearfix">
        <img class="welcom-img" src="images/1.jpg">
        <p>a nice sentence or a bad one, a long one or maybe a short one huha nice sentence or a bad one, a long one or maybe a short one huha nice sentence or a bad one, a long one or maybe a short one huha nice sentence or a bad one, a long one or maybe a short one huha nice sentence or a bad one, a long one or maybe a short one huh</p>
      </div>
      <a href="#" class="welcom-read">READ MORE</a>
    </section>
    
    <!-- services -->
    <sevtion class="service">
      <h2 class="title">SERVICES PROJECTS</h2>
      <p class="title-discription">a nice sentence or a bad </p>
      <div class="clearfix space-components">

        <div class="service-space">
          <div class="service-item">
            <i class="fab fa-twitter"></i>
            <h3 class="service-title">WEB-SECURITY</h3>
            <P class="service-text">a nice sentence or a bad one, a long one or maybe a short one huh!</P>
          </div>
        </div>

        <div class="service-space">
          <div class="service-item">
            <i class="fab fa-twitter"></i>
            <h3 class="service-title">WEB-SECURITY</h3>
            <P class="service-text">a nice sentence or a bad one, a long one or maybe a short one huh!</P>
          </div>
        </div>

        <div class="service-space">
          <div class="service-item">
            <i class="fab fa-twitter"></i>
            <h3 class="service-title">WEB-SECURITY</h3>
            <P class="service-text">a nice sentence or a bad one, a long one or maybe a short one huh!</P>
          </div>
        </div>

        <div class="service-space">
          <div class="service-item">
            <i class="fab fa-twitter"></i>
            <h3 class="service-title">WEB-SECURITY</h3>
            <P class="service-text">a nice sentence or a bad one, a long one or maybe a short one huh!</P>
          </div>
        </div>

      </div>
    </sevtion>
      
    <section class="projects space-components"> 
      <h2 class="title">FEATURED PROJECTS</h2>
      <p class="title-discription">a nice sentence or a bad one, a long one or maybe a short one huh!</p>

      <!-- project -->
      <div class="clearfix">
        <div class="project-space">
          <div class="project">
            <img class="project-img" src="http://golenaz.com/wp-content/uploads/2019/03/باکس-گل-با-حرف-m-660x693.jpg">
            <ul class="bottons">
              <li class="project-img-blue"><a><i class="fas fa-search"></i></a></li>
              <li class="project-img-white"><a><i class="fas fa-link"></i></a></li>
            </ul>
            <div class="discription">
              <h3>Project Name</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio, ut!</p>
            </div>
          </div>
        </div>

        <div class="project-space">
          <div class="project">
            <img class="project-img" src="http://golenaz.com/wp-content/uploads/2019/03/باکس-گل-با-حرف-m-660x693.jpg">
            <ul class="bottons">
              <li class="project-img-blue"><a><i class="fas fa-search"></i></a></li>
              <li class="project-img-white"><a><i class="fas fa-link"></i></a></li>
            </ul>
            <div class="discription">
              <h3>Project Name</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio, ut!</p>
            </div>
          </div>
        </div>

        <div class="project-space">
          <div class="project">
            <img class="project-img" src="http://golenaz.com/wp-content/uploads/2019/03/باکس-گل-با-حرف-m-660x693.jpg">
            <ul class="bottons">
              <li class="project-img-blue"><a><i class="fas fa-search"></i></a></li>
              <li class="project-img-white"><a><i class="fas fa-link"></i></a></li>
            </ul>
            <div class="discription">
              <h3>Project Name</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio, ut!</p>
            </div>
          </div>
        </div>

        <div class="project-space">
          <div class="project">
            <img class="project-img" src="http://golenaz.com/wp-content/uploads/2019/03/باکس-گل-با-حرف-m-660x693.jpg">
            <ul class="bottons">
              <li class="project-img-blue"><a><i class="fas fa-search"></i></a></li>
              <li class="project-img-white"><a><i class="fas fa-link"></i></a></li>
            </ul>
            <div class="discription">
              <h3>Project Name</h3>
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio, ut!</p>
            </div>
          </div>
        </div>
      </div>
    </section>
    
    <section class="quotation">
      <div class="people-say">
        <h2 class="title quotation-title">WHAT PEOPLE SAY</h2>
        <div class="quotation-profile">
          <img class="quotation-img" src="">
        </div>
          <span class="quotation-name">Kati Mans</span>
          <p class="quotation-text">a nice sentence or a bad one, a long one or maybe a short one huha nice sentence or a bad one, a long one or maybe a short one huha nice sentence or a bad one, a long one or maybe a short one huha nice sentence or a bad one, a long one or maybe a short one huha nice sentence or a bad one, a long one or maybe a short one huh</p>
        <div class="next-back">
          <i class="fas fa-arrow-left icon"></i>
          <i class="fas fa-arrow-right icon"></i>        
        </div>
      </div>
    </section>
    <!--contact us -->
    <section class="contact">
      <input class="contact__inout" type="text" placeholder="Your Name...">
      <input class="contact__inout" type="email" placeholder="Your Email...">
      <input class="contact__inout" type="tel" placeholder="Your Phone Number...">
      <textarea class="contact__inout" type="text" rows="5" placeholder="Enter Your messages..."></textarea>
      <button class="contact__button">SEND</button>

      <div class="contact__wrapper">
        <h3 class="contact__title">concate us</h3>
        <div>
          <i class="fab fa-facebook-f"></i>
          <span class="contact__text">Phoneix Inc<br>
            PO Box 345678<br>
            Little Lonsdale St, melbourne<br>
            Australia
          </span>
        </div>

        <div>
          <i class="fa fa-phone" aria-hidden="true"></i>
          <span class="contact__text">Phone: (145) 124-5678</span>
        </div>

        <div>
          <i class="fa fa-phone" aria-hidden="true"></i>
          <span class="contact__text">website2yourname.com</span>
        </div>

      </div>

    </section>

    <!-- <iframe class="map" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d102899.40146706582!2d59.64932629872801!3d36.297601625411865!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3f6c911abe4131d7%3A0xc9c57e3a9318753b!2z2YXYtNmH2K_YjCDYp9iz2KrYp9mGINiu2LHYp9iz2KfZhiDYsdi22YjbjNiMINin24zYsdin2YY!5e0!3m2!1sfa!2s!4v1568637266952!5m2!1sfa!2s" width="600" height="450" frameborder="0" style="border:0;" allowfullscreen=""></iframe>  </main> -->
  <footer>
    <span>NEWSLETTER SIGNUP</span>
    <span>get Cool Stuff! We hate spam!</span>
    <div class="send">
      <input placeholder="Enter your Email">
      <i class="fas fa-paper-plane"></i>
    </div>
    <div class="social-networks">
      <i class="fas fa-thumbs-up"></i>
      <i class="fab fa-twitter"></i>
      <i class="fab fa-skype"></i>
      <i class="fas fa-football-ball"></i>
      <i class="fab fa-youtube"></i>
    </div>
    <span class="copyright">copyright @ 2014-2015 </span>
  </footer>
</body>

</html>
              
            
!

CSS

              
                html {
    box-sizing: border-box;
}

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

body {
  font-family: tahoma, serif;
}

input,
button {
  font-family: inherit;
}

.space-components {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  margin: 0;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table; 
}

.clearfix:after {
  clear: both;
}

.logo__img {
  display: block;
   padding-inline-start: 30em;   
  padding: 0.3em  0em 0.3em 0;
}

/** Slider **/

.slider {
  background: url('../images/banner.jpg') center top/cover no-repeat #1b1b1b;
  text-align: center;
  color: #fff;
  padding: 3em 0;
}

.slider p {
  font-size: 0.7em;
  color: #eaeaea;
}

.date {
  margin-bottom: 2em;
}
.date span:not(:last-child) {
  color: #eaeaea;
}

.date span:last-child {
  font-size: 3em;
}

.join-us {
  padding: 1em 3em;
  margin: 0 auto;
  display: table;
  background-color: hsla(197, 100%, 37%, 0.8)
}

/** title **/
.title {
  text-align: center;
  color: #333;
  position: relative;
  padding-bottom: 0.5em;
}

.title:after {
  content: " ";
  /* display: block; */
  width: 5em;
  height: 2px;
  background-color: #b0e1f5;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.title-discription {
  text-align: center;
  color: #777;
}
/** welcom **/

.welcom {
  background-color: hsla(197, 100%, 37%, 0.8);
  color: #fff;
  padding: 2em 5em;
  margin: 0em auto 1em;
}

.welcom-title {
  margin-bottom: 2em;
}

.welcom-img {
  width: 10em;
  height: 10em;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  float: left;
  margin: 0em 2em 0 0;
}

.welcom-read {
  color: #fff;
  text-decoration: none;
  display: table;
  margin-left: auto;
  padding: 1em 2em;
  border: 1px solid #fff;
}

/** service **/
.service-space {
  width: 50%;
  padding: 1em;
  float: left;
}

.service-item {
  text-align: center;
}

.service-title {
  color: #0e240e;
}

.service-text {
  color: rgb(120,120,120);
}

/** project **/

.projects {
  margin-bottom: 3em;
}

.project-space {
  float: left;
  padding: 0.5em;
  width: 50%;
}
.project {
  position: relative;
  /* margin: 3em auto; */
  overflow: hidden;
  /* float: left; */
}

.project-img {
  display: block;
  object-fit: cover;
  width: 100%;
}

.bottons {
  position: absolute;
  list-style-type: none;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
}

.project:hover .bottons {
  opacity: 1;
  transition: opacity .3s ease-in;
}

.bottons li {
  text-decoration: none;
  display: inline-block;
  padding: 0.5em;
  margin: 0 -2.7px;
  cursor: pointer;
}

.project-img-blue {
  background-color: hsla(197, 100%, 37%, 0.8);
  color: #fff;
}

.project-img-white {
  background-color: rgba(255, 239, 239, 0.5);
  color: #000;
}

.discription {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  color: #fff;
  padding: 0.5em 1.5em;
  background-color: rgba(120,120,120,.3);
  transform: translate3d(0,100%,0);
  transition: transform .3s ease-in-out;
}

.project:hover .discription {
  transform: translate3d(0,0,0);
}

/** quotation **/

.quotation {
  background: url('../images/banner.jpg') center top/cover no-repeat #1b1b1b;
  color: #fff;
  margin-bottom: 3em;
}

.people-say {
  background-color: hsla(197, 100%, 37%, 0.6);
  padding: 3em 1em;
  text-align: center;

}

.quotation-title {
  color: #fff;
}

.quotation-profile {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  outline: none;
  margin: 1em 0;
  overflow: hidden;
}

.quotation-img {
  background: url('../images/user.jpg') center top/cover no-repeat;
  object-fit: contain;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  outline: none;
}

.quotation-name {
  display: block;
}

.quotation-text {
  max-width: 37vw;
  display: inline-block;
  font-size: 24px;
  line-height: 1.5em;
  position: relative;
}

.quotation-text:after,
.quotation-text:before {
  position: absolute;
  padding: 0.6em;
}

.quotation-text:after {
  content: '”';
  bottom: -59px;
  right: -60px;
}

.quotation-text:before {
  /* content: '“'; */
  content: '\201C';
  top: -53px;
  left: -64px;
}

.next-back {
  border: 1px solid #fff;
  display: table;
  margin: 2em auto 0 auto;
}

.icon {
  padding: 0.6em;
  cursor: pointer;
}
/** contact **/

.works {
  background: #fff;
  padding: 1em 2em;
}

.contact__inout {
  display: block;
  margin: 1em auto;
  border: 1px solid #ccc;
  padding: 0.3em 1em;
  width: 90%;
  font-size: 0.9em;
  color: #333;
  font-family: inherit;
}

.contact__button {
  padding: 1em 2em;
  margin: 1em auto;
  color: #e3e3e3;
  background-color: #008ecc;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  font-family: inherit;
  font-size: 0.9em;
  width: 90%;
  display: block;
}

.contact__wrapper {
  width: 90%;
  margin: 0.5em auto;
}

.contact__title {
  border-bottom: 3px solid #4DD0E1;
  color: #333;
  padding-bottom: 0.5em;
  margin: 0 1em 1.4em;
  font-size: 1.5em;
}
.contact__wrapper i {
  /* margin-inline-end: 1em; */
  display: inline-block;
  color: #777;
  vertical-align: middle;
}

.contact__text {
  color: #777;
  font-size: 0.9em;
  margin: 0 1em 0.8em;
  display: inline-block;
}
.map {
  width: 100%;
}

/** Footer**/

footer {
  text-align: center;
  background-color: #2e2e2e;
  color: #7f7f7f;
  padding: 3em 0;
}

footer span:not(:last-child) {
  display: block;
  margin-bottom: 1em;
  color: #fff;
}

.send { 
  display: table;
  margin: 0 auto 2em;
  font-size: 1em;
  background-color: #7f7f7f;
  text-align: center;
}

.send input {
  padding: 0.5em;
  border: 0.1em solid #7f7f7f;
  background-color: #2e2e2e;
  color: #fff;
  outline: none;
}

.send i {
  color: #c1c1c1;
  margin: 0.5em;
}

.social-networks {
  margin-bottom: 2em;
  font-size: 2em;
}

.social-networks i:not(:last-child) {
  margin-inline-end: 1em;
}

.copyright {
  margin-bottom: 2em;
  font-size: 0.8em;
}

/** 
  MEDIA
    **/

@media (max-width: 48em) {
  .contact {
    /* width: 30.33%;
    padding: 5em; */
    display: none;
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console