Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" href="style.css">
    <link rel="preconnect" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
  </head>



  <body>
    <header>
      <nav>
        <a href=""><img src="https://ayesha.dropletthemes.com/wp-content/themes/ayesha/images/dark_logo.png" class="logo laptop"><img src="https://ayesha.dropletthemes.com/wp-content/themes/ayesha/images/light_logo.png" class=" logo tablet"></a>
        <ul>
          <li><a href="">Home</a></li>
          <li><a href="">About</a></li>
          <li><a href="">Services</a></li>
          <li><a href="">Lookbook</a></li>
          <li><a href="">News</a></li>
          <li><a href="">Shop</a></li>
          <li><a href="">Contact</a></li>
          <li><a href=""><ion-icon name="search-outline" class="iconNothing"></ion-icon></a></li>
          <li><a href=""><ion-icon name="bag-handle-outline" class="iconNothing"></ion-icon></a></li>
        </ul>
        <a href="" class="book"><ion-icon name="ellipsis-horizontal" class="iconNothing"></ion-icon>  Book Online</a>
        <a href=""><ion-icon name="reorder-three-outline" class="tablet mobile threeLines"></ion-icon></a>
      </nav>
    </header>


    <main>
      <section class="title">
        <section class="contentWrapper">
          <section class="mainText">
          <h1>
            Blonde <br>& Highlight
          </h1>
          <h5>
            Divide your uniqueness by your hairs in style
          </h5>
        </section>
          <button class="black">
            <ion-icon name="ellipsis-horizontal" class="iconNothing whiteColor"></ion-icon> Our Services
          </button>
          <aside class="callToAction black">
            <span>
              Your First Visit?
            <span>
            <span class="coupon">
              -20% for the first classic hair coloring
            </span>
            <button class="white">
              <ion-icon name="ellipsis-horizontal" class="iconNothing whiteColor"></ion-icon> Book Online
            </button>
          </section>
        </section>
      </section>



      <section class="services">
        </span><section class="contentWrapper">
          <section class="serviceDescription">
            <img src="https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/quality-icon-01.png">
            <h3>
              Expert Beauticians
            </h3>
            <p>
              Beauty Experts dolor sit amet semiadicing elit maecenas sa faubus mollis expo sail and beauty exten interdum.
            </p>
          </section>
          <section class="serviceDescription">
            <img src="https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/quality-icon-02.png">
            <h3>
              Quality Services
            </h3>
            <p>
              Hair Styling Services sit amet semiadicing elit maecenas sa faubus mollis expo sail and beauty exten interdum
            </p>
          </section>
          <section class="serviceDescription">
            <img src="https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/quality-icon-03.png">
            <h3>
              Beauty Products
            </h3>
            <p>
              Hair color or Product sit amet semiadicing elit maecenas sa faubus mollis expo sail and beauty exten interdum.
            </p>
          </section>
        </section>
      </section>




      <section class="video">
        <section class="contentWrapper">
          <section class="textMain">
            <h2>
              Make Your Own Momentum
            </h2>
            <p>
              Hair Salon volutpat ut nisl in hendrerit. Vestibulum ante ipsum astisul primis in faucibus orci luctus et ultrices posuere cubilia Curaemil Etiam porttitor, lacus in luctus molestie, libero justo ullamcorper nulla, sed lacinia and make the beauty much moe essetful and owner erat metus eget diam. Morbi volutpat lectus sit amet diam vestibioas beauty products
            </p>
            <button class="black">
              <ion-icon name="ellipsis-horizontal" class="iconNothing whiteColor"></ion-icon> Read More
            </button>
          </section>
          <section class="videoImgWrapper">
            <img src="https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Home3-Video.jpg" class="videoImg videoClick">
          </section>
        </section>
      </section>




      <section class="stylistSection">
          <section class="contentWrapper">
            <h2>
              Our Stylers
            </h2>
            <ion-icon name="remove-outline" class="line"></ion-icon>
          </section>
          <section class="allImages">
            <section class="stylistImgWrapper">
              <img src="https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Styler-01.jpg" class="stylistImg">
              <section class="stylistSocialMedia">
                <ion-icon name="logo-twitter" class="iconBlack"></ion-icon>
                <ion-icon name="logo-facebook" class="iconBlack"></ion-icon>
                <ion-icon name="logo-instagram" class="iconBlack"></ion-icon>
              </section>
            <section class="stylistText">
              <h5>
                Alisha Williams
              </h5>
              <span>
                - Styler
              </span>
            </section>
          </section>

            <section class="stylistImgWrapper">
              <img src="https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Styler-02.jpg" class="stylistImg">
              <section class="stylistSocialMedia">
                <ion-icon name="logo-twitter" class="iconBlack"></ion-icon>
                <ion-icon name="logo-facebook" class="iconBlack"></ion-icon>
                <ion-icon name="logo-instagram" class="iconBlack"></ion-icon>
              </section>
            <section class="stylistText">
              <h5>
                Alisha Williams
              </h5>
              <span>
                - Styler
              </span>
            </section>
            </section>

            <section class="stylistImgWrapper">
              <img src="https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Styler-03.jpg" class="stylistImg">
              <section class="stylistSocialMedia">
                <ion-icon name="logo-twitter" class="iconBlack"></ion-icon>
                <ion-icon name="logo-facebook" class="iconBlack"></ion-icon>
                <ion-icon name="logo-instagram" class="iconBlack"></ion-icon>
              </section>
              <section class="stylistText">
                <h5>
                  Alisha Williams
                </h5>
                <span>
                  - Styler
                </span>
            </section>
            </section>
          </section>
          </section>
        </section>
      </section>




      <aside class="couponBig">
        <section class="contentWrapper">
          <h5>
            Colour Day Offer
          </h5>
          <h2>
            -10% On Haircut Color and Make-Up
          </h2>
          <button class="black">
            <ion-icon name="ellipsis-horizontal" class="iconNothing whiteColor"></ion-icon> Book Appointmnet
          </button>
      </aside>




      <section class="lookbook">
        <section class="contentWrapper">
          <section class="text">
            <h2>
              Our Lookbook
            </h2>
            <ion-icon name="remove-outline"  class="line"></ion-icon>
          </section>
          <section class="allImages">
            <section class="imgColumn">
              <section class="imgSquare imgOne">
              </section>
              <section class="imgRectangle imgTwo">
              </section>
            </section>
            <section class="imgColumn">
              <section class="imgRectangle imgThree">
              </section>
              <section class="imgSquare imgFour">
              </section>
            </section>
            <section class="imgColumn">
              <section class="imgSquare imgFive">
              </section>
              <section class="imgRectangle imgSix">
              </section>
            </section>
          </section>
        </section>
      <section>
    </main>



    <footer class="black">
      <section class="aboutUs">
        <h3>
          About Us
        </h3>
        <p>
          Ayesh Beauty Salon is perspiciatis omnis iste natus laundres veritis et abster beatae vitae nunc sagittis interdum resustut accuman.
        </p>
        <section class="socialMedia">
          <ion-icon name="logo-twitter" class="whiteIcon" class="iconBlack"></ion-icon>
          <ion-icon name="logo-facebook" class="whiteIcon" class="iconBlack"></ion-icon>
          <ion-icon name="logo-instagram" class="whiteIcon" class="iconBlack"></ion-icon>
          <ion-icon name="logo-youtube" class="whiteIcon" class="iconBlack"></ion-icon>
        </section>
      </section>
      <section class="contact">
        <h3>
          Contact Us
        </h3>
        <span>
          Mon - Sun 9:00 AM - 8:00 AM
        </span>
        <span>
          (+1) 510-860-1035
        </span>
        <span>
          848 E 28th St, Brooklyn NY,USA
        </span>
        <span>
          info@beautysalon.com
        </span>
      </section>
      <section class="copyright">
        <span>
          Copyrights 2020 Ayesha Design by droplettheemes remade by Richard
      </span>
    </footer>
    <script src="https://unpkg.com/ionicons@5.2.3/dist/ionicons.js"></script>
  </body>
</html>
              
            
!

CSS

              
                /*
  ========================================
  Style Reset START
  ========================================
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*
  ========================================
  Style Reset END
  ========================================

  ========================================
  START CSS CODING . . . BEGIN!
  ========================================

  ========================================
  GRID
  ========================================
*/
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
/*
  ========================================
  BASE COLORS & FONTS
  ========================================
*/

html{
  font-size: 62.5%;
}

h1, h2, h3, h4, h5, h6, span, a, li, button, nav, a, li, p, span{
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-stretch: 100%;
  font-weight: 400;
  line-height: 2em;
  text-transform: uppercase;
  letter-spacing: .2rem;
}

button, nav, a, li, p, span{
  font-family: 'Roboto', sans-serif;
}

h1{
  font-size: 10rem;
  line-height: 15rem;
  color: white;
}

h2{
  font-size: 4.5rem;
  line-height: 7rem;
  font-weight: 400;
}

h5{
  font-size: 1.8rem;
}

.title h5{
  color: white;
}

h3{
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
}

.callToAction span{
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
}

.callToAction .coupon{
  font-size: 2.2rem;
  font-weight: 600;
}

p, span{
  text-transform: none;
}

ion-icon{
  color: black;
  font-size: 25px;
}

.whiteColor{
  color: white;
}

.iconBlack{
  color: white;
  border-radius: 50%;
  background: black;
  padding: 10px;
}

.iconWhite{
  background: white;
}

.black{
  color: white;
}

.white .whiteColor{
  color: black;
}

/*
  ========================================
  BACKGROUNDS
  ========================================
*/
.title{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/aeaeaeaeaeae.jpg")  no-repeat center;
  background-size: cover;
}

.couponBig{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Promo-Banner-Image.jpg?id=4553") no-repeat center;
  background-size: cover;
}

.video{
  background: #f3f4f6;
}

.black{
  background: black;
}

header, main{
  background: white;
}

.imgOne{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Gallery-01.jpg") no-repeat center;
  background-size: cover;
}

.imgTwo{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Masonry-02.jpg") no-repeat center;
  background-size: cover;
}

.imgThree{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Masonry-01.jpg") no-repeat center;
  background-size: cover;
}

.imgFour{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Gallery-04.jpg") no-repeat center;
  background-size: cover;
}

.imgFive{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Gallery-02.jpg") no-repeat center;
  background-size: cover;
}

.imgSix{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Masonry-03.jpg") no-repeat center;
  background-size: cover;
}

.stylistOne{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Styler-01.jpg") no-repeat center;
  background-size: cover;
}
.stylistTwo{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Styler-02.jpg") no-repeat center;
  background-size: cover;
}
.stylistThree{
  background: url("https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Styler-03.jpg") no-repeat center;
  backgrond-size: cover;
}

.imgSquare, .imgRectangle{
  width:360px;
  height:360px;
  border: 5px solid white;
}
.imgRectangle{
  height: 760px;
}


/*
  ========================================
  MAIN LAYOUT
  ========================================
*/
header, .timeSide, .title, .services, .video, .stylistSection, .couponBig, .lookbook, footer{
  padding: 5% 15%;
  margin: 0 auto;
  width: 100%;
  clear: both;
}

header, footer{
  padding: 2.5% 5%;
  width: 100%;
}

.title{
  padding: 10% 15%;
}

span{
  display: block;
}

.callToAction{
  width: 300px;
  padding: 40px;
  margin-bottom: 50px;
}

button{
  margin: 30px 0;
  padding:10px 20px;
  border: none;
}

button ion-icon, .book ion-icon, .threeLines{
  position: relative;
  display: inline-block;
  bottom: -8px;
}

.video .textMain{
  float: left;
  width: 50%;
  padding: 2% 3% 2% 0;
}

.video p, .videoImgWrapper{
  padding: 5% 0;
}

.couponBig{
  width: 80%;
  margin: 0 auto;
  padding:  5%;
}

.couponBig .contentWrapper{
  width: 50%;
  text-align: left;
}

.video, .lookbook, .services{
  contain: content;
}

li, .logo, .book{
  display: inline-block;
  padding-right: 25px;
  float: left;
}

.book{
  float: right;
}

.videoImg{
  float: right;
  width: 50%;
  padding: 2%;
}

.imgColumn{
float:left;
}

.text, nav, .contentWrapper{
  width: 100%;
  text-align: center;
}

.title .contentWrapper{
  text-align:left;
}

.video .text{
  float: left;
  width: 90%;
}

/*
  ========================================
  MINI LAYOUT
  ========================================
*/
.serviceDescription{
  width: 33.33%;
  min-width: 200px;
  padding: 2% 5%;
  float: left;
  text-align: center;
}

.lookbook .allImages{
  padding-left: 7%;
}
.stylistSection{
  width: 100%;
  text-align: center;
  contain: content;
}

.stylistImg{
  width: 370px;
  height: 480px;
}

.stylistImgWrapper{
  float: left;
  height: 600px;
  padding: 1%;
  contain: content;
  text-align: center;
}

.stylistSocialMedia{
  width: 90%;
  height: 480px;
  position: relative;
  text-align: center;
  padding: 60% 0 30% 0;
  right: -20px;
  opacity: 0;
  top: -462px;
  transition: opacity 0.5s;
}

.stylistText{
  position: relative;
  text-align: center;
  top: -462px;
}

.logo, nav, .book{
  position: relative;
  top: -10px;

}

ul{
  text-align: center;
  padding-left: 15%;
}


.aboutUs, .contact{
  float:left;
  width: 400px;
  text-align: left;
}

.contact{
  float: right;
}

.copyright{
  clear: both;
  width: 100%;
  padding-top: 2%;
  border-top: 1px solid white;
  text-align: center;
}
.allImages, .imgColumn{
  margin: 0 auto;
  text-align: center;
  padding: 0;
  contain: content;
}
.imgColumn, .stylistImgWrapper{
  width: 33%;
  float: left;
}



/*
========================================
SPECIFIC ITEMS
========================================
*/
.line{
font-size: 50px;
}

ion-icon {
--ionicon-stroke-width: 40px;
}

.threeLines{
color: white;
float: right;
font-size: 30px;
top: 0px;
}
/*
  ========================================
  INTERACTIVE
  ========================================
*/


a:link, a:visited{
  text-decoration: none;
  color: inherit;
}

.stylistSocialMedia:hover{
  opacity: 1;
  background: rgba(0,0,0, .3);
  transform: translateY(-20px);
  transition: 0.5s;
}

/*
  ========================================
  MEDIA QUERIES
  ========================================
*/
@media all and (min-width: 1251px) and (max-width: 3000px){
  .tablet, .mobile{
    display: none;
  }
}

@media (max-width: 1350px){
  .imgColumn, .stylistImgWrapper{
    width: 50%;
  }
  .imgColumn:last-child, .stylistImgWrapper:last-child{
    display: none;
  }

  .stylistSocialMedia{
  width: 370px;
  padding: 0 5%;
  height: 480px;
  position: relative;
  text-align: center;
  padding: 60% 0 30% 0;
  opacity: 0;
  right: -30px;
  top: -462px;
  transition: opacity 0.5s;
  }
}
@media all and (max-width: 1250px){
  ul, .book, .laptop{
    display: none;
  }
  header{
    background: black;
    color: white;
    padding: 5% 15%;
    margin: 0 auto;
  }
  header ion-icon{
    display: static;
  }
  .imgSix{
    height: 360px;
  }

  .videoImgWrapper, .video .textMain{
    float: none;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    contain: content;
  }

  .videoImgWrapper{
    padding: 0 15%;
  }
  .videoImg{
    width: 500px;
  }
 .stylistImgWrapper{
    width: 100%;
  }
  .stylistSocialMedia{
    width: 370px;
    height: 480px;
    position: relative;
    text-align: center;
    padding: 30% 0 20% 0;
    opacity: 0;
    right: -230px;
    top: -462px;
    transition: opacity 0.5s;
  }
}
@media all and (max-width: 1100px){
  .stylistImgWrapper, .stylistImgWrapper:last-child, .imgColumn{
    padding: 0 25%;
  }
  .videoImgWrapper{
    padding: 0 15%;
  }
  .imgColumn{
    padding: 0;
    width: 100%;
  }
  .imgRectangle, .imgSquare{
    height: 360px;
    float: none;
    margin: 0 auto;
  }
  .stylistSocialMedia{
    right:0px;
    padding: 90% 0 30% 0;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console