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

              
                

<nav class="menu"> 
  <div class="wrapper1">
      <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">Flavors</a></li>
        <li><a href="#">Gallery</a></li>
        <li><a href="#">Contact</a></li>
        <li><a href="#">Order</a></li>
      </ul>
  </div>
</nav>


 <img id="illustration"         
      src="http://www.up2me.co.il/images/57919594.png" /> 
 <img id="illustration-iphone"         
      src="http://www.up2me.co.il/images/90899634.png" /> 
 <img id="illustration-ipad"         
      src="http://www.up2me.co.il/images/13156322.png" /> 
      
  
<section class="hero">
	<div class="wrapper">
  <h1 class="logo">Just Ice Cream.</h1>
    </div>
</section>


<section class="about">
  <div class="wrapper">
    <h2 class="section-title">ABOUT</h2>
    <p class="about-text">
      We are absolutely devoted to making better ice creams and bringing people together. It’s what gets us out of bed in the morning and keeps us up late at night. That really great ice cream served perfectly in a sparkling and beautiful space, with attentive and in-the-moment service (we believe service is an art) brings people together and helps them connect. 
We like to make people feel good.
    </p>
    <div class="about-details">
      <div class="location">
        <h3>location</h3>
        <p class="location-text">
33 King George St<br/>
Tel Aviv, 98112<br/>
03-528-8547
        </p>  
      </div>
      <div class="map">
       <img src="http://www.up2me.co.il/images/29583.png" /> 
      </div>
      <div class="hours">
        <h3>hours</h3>
          <p class="hours-text">
Open every day<br/>
12pm - 11pm
        </p>  
      </div>
    </div>
  </div>
</section>


<section class="flavors">
  <div class="wrapper">
    <h2 class="section-title">FLAVORS</h2>
   <div class="flavors-details">
      <div>
        <h3>ALMOND DIVINITY</h3>
        <p>
Almond Ice Cream with Marshmallow and Almonds
        </p>  
      </div>
      <div>
        <h3>FUDGIE CHOCOLATE</h3>
          <p>
Chocolate Ice Cream with Chocolate Fudge
        </p>   
      </div>
      <div>
        <h3>BANANA CREAM PIE</h3>
        <p>
Banana Ice Cream with Marshmallow and Wafers
        </p>  
      </div> 
      <div>
        <h3>BIRTHDAY CAKE</h3>
          <p>
Purple Cake Batter Ice Cream with Blue Icing
        </p>  
      </div>
      <div>
        <h3>MANGO FUDGE</h3>
          <p>
Mango Ice Cream with Fudge Ripple and Nuts
        </p>  
      </div> 
      <div>
        <h3>PEANUT BUTTER</h3>
          <p>
Vanilla Ice Cream with Peanut Butter and Chunks 
        </p>  
      </div> 
      <div>
        <h3>RED VELVET</h3>
          <p>
Butterfudge Cake Ice Cream with Marshmallow
        </p>  
      </div>
      <div>
        <h3>CHERRY VANILLA</h3>
          <p>
Vanilla Maraschino Cherry Ice Cream with Chocolate
        </p>  
      </div> 
     <div class="button">
       <div class="order">
         <a class="btn"         href="https://invis.io/QXEW4R2TY#/268390734_ORDER">Order</a>
       </div>
    </div>
   </div>
     
 </div>
</section>

<section class="gallery">
   <div class="wrapper">
  <h2 class="section-title">GALLERY</h2>
  </div>   
  <div class="wrapper1">
    <div class="gallery-details">
      
      <div class="left">
     <img src=" http://www.up2me.co.il/images/1938255.png" /> 
  </div>  
      <div class="gallery-photo">
       <img src="http://img-fotki.yandex.ru/get/29815/310023662.293e/0_74fa3c_5b5a4713_orig" /> 
</div>        
<div class="right">
       <img src=" http://www.up2me.co.il/images/1938255.png" /> 
          </div>
       </div>
      </div>
</section>

<section class="gallery-iphone">
   <div class="wrapper">
  <h2 class="section-title">GALLERY</h2>   
      <img src="http://www.up2me.co.il/images/53032368.png" /> 
      <img src="http://www.up2me.co.il/images/64682155.png" />
      <img src="http://www.up2me.co.il/images/27152699.png" />
      <p> more pictures </p> 
  </div>  
</section>


<section class="quote">
   <div class="wrapper">
     <h4 class="quote"><span class="start">“</span>If there is a heaven, that's how his taste feels. just ice cream offers an unparalleled experience<span class="end">”</span></h4>  
     <p class="source-quote">
  Timeout Tel Aviv. November 2017  
          </p> 
      </div>
</section>


<section class="contact">
  <div class="wrapper">
    <h2 class="section-title">CONTACT</h2>
    <div class="contact-icons">
      <div class="instagram">
       <img src="http://www.up2me.co.il/images/29126362.png" /> 
        <h3 class="b">Just follow us</h3> 
      </div>
      <div class="facebook">
       <img src="http://www.up2me.co.il/images/72299510.png" /> 
        <h3 class="b">Just be our friend</h3> 
      </div>
            <div class="mail">
       <img src="http://www.up2me.co.il/images/63003727.png" /> 
       <h3 class="b">Just talk with us</h3> 
      </div>
            <div class="come">
       <img src="http://www.up2me.co.il/images/88511155.png" /> 
         <h3 class="b">Just visit us</h3> 
      </div>
    </div>
  </div>
</section>

<section class="copyright">
    <div class="wrapper">
    <div class="stroke">
    </div>  
   <p class="copyright-text">
COPYRIGHT © BRUSTER'S ICE CREAM, INC. 
ALL RIGHTS RESERVED. PRIVACY POLICY.
    </p>
  </div>
</section>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Lora:700|Nixie+One|Roboto:400,500,900|Rubik:700');

* {
	box-sizing: border-box;
}

/* GENERAL */

body{
	font-family: 'Roboto', sans-serif;
  font-weight: 400;
	background: #fff;
	color: black;
	font-size: 18px;	
  line-height: 1.3;  
  background-image:
 url("http://www.up2me.co.il/images/87369979.png"),
 url("http://www.up2me.co.il/images/9532925.png");
  background-repeat: repeat-y;
  background-position: 
    left 10px,
    right 20px;
  background-size: 200px;
  image-offset: -220px;
}

h2{
	font-family: 'Rubik', serif;
	font-size: 38px;
  font-weight: 700;
	margin: 0 0 40px;
  margin-bottom: 40px;
	
}

h3 {
	font-size: 22px;
  font-family: 'Roboto', serif;
  font-weight: 900;
  border-bottom: 2px solid black;
  padding-bottom: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.wrapper {
  max-width: 50%;
  margin: 0 auto;
}

.wrapper1 {
  max-width: 80%;
  margin: 0 auto;
}


/* MENU SECTION */

.menu {  
    text-align: center;
}

.menu ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.menu a {
  color: black;
  font-weight: 400;
  text-decoration: none;
}
 
/* IMAGE SECTION */

#illustration {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

#illustration-iphone {
  display: none;
}

#illustration-ipad {
  display: none;
}


/* HERO SECTION */


.logo {
	padding: 0px 0 90px;
	height: 50%;
  text-align: center;
 
}

h1{
	font-size: 36px;
  font-weight: bold;
	font-family: 'Nixie One', cursive;
  text-shadow:
/* 		-0.5px -0.5px 0 #000,
		0.5px -0.5px 0 #000,
		-0.5px 0.5px 0 #000,
		0.5px 0.5px 0 #000; */
}

/* ABOUT SECTION */

.about-text{
	font-size: 20px;
  line-height: 1.4;
	margin: 0 0 60px;
}

.about-details {
  display: flex;
  justify-content: space-between;
  font-size: 19px;
  line-height: 1.4;
  padding-bottom: 150px;
}

  .location {
    width: 34%;
  }
  
  .hours {
    width: 34%;
  }

.map img {
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
}
  

/* FLAVORS SECTION */

.flavors-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 15px;
  line-height: 1.4;
  padding-bottom: 60px;
}

.flavors-details div {
  flex: 0 0 34%;
}

.flavors-details p {
  margin-bottom: 40px;
}

.btn {
 	font-size: 30px;
  color: black;
  border: 2px solid black;
  text-decoration: none;
  padding: 15px 60px 15px 60px;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase; 
  display: block;
  flex-wrap: wrap;
  flex: 0 0 34%;
}

.button {
 margin-bottom: 150px;
}
  
.flavors-details div {
  flex: 0 0 34%;
}

.flavors-details p {
  margin-bottom: 30px;
}

.order {
  width: 100%;
  height: 80%;
  position: relative;
  background-color: white;
  transform: rotate(-6deg);
}

.order:hover {
  background-color: #FAA0A2;
}

.order .btn {
    transform: rotate(6deg);
}

/* GALLERY SECTION */

.gallery-iphone {
  display: none;
}

.gallery-details {
  display: flex;
  justify-content: space-between;
  align-items:center;
  padding-bottom: 150px;
}

.gallery-photo {
  width: 62.5%;
}

.gallery-photo img {
  width: 100%;
}

.right {
  width: 18.75%;
  transform: scaleX(-1);
}

.left {
  width: 18.75%;
}

.right img {
  width: 60%;
  cursor: pointer;
/*   background: red; */
}

.right img:hover {
    position: relative;
    right: 8px;
}

.left img {
  width: 60%;
  cursor: pointer;
/*   background: red; */
}

.left img:hover {
    position: relative;
    left: -8px;
}


/* QUOTE SECTION */


h4 {
	font-size: 50px;
  font-family: 'lora', serif;
  font-weight: 700;
  padding-bottom: 20px;
}

.quote {
  position: relative;
}
.quote span{
  font-size: 1.5em;
  position: absolute;
}

.quote span.start {
  right: 102%;
  top: -20px;
}

.quote span.end {
  left: 100%;
  bottom: -20px;
}

.source-quote {
  padding-bottom: 150px;
}

/* CONTACT SECTION */

.contact h3 {
 	font-size: 19px;
  border: 0;
  text-align: center;
}

.contact-icons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 130px;
  cursor: pointer;
}
.contact-icons > * {
  flex: 0 0 23%;
}

.contact-icons > *:hover{
    position: relative;
    right: 2px;
    bottom: 2px;
}
.contact-icons img {
  width: 100%;
}

/* COPYRIGHT SECTION */

.stroke {
  width: 34%; 
  border-top: 2px solid black; 
}

.copyright-text {
  font-size: 16px;
  font-weight: 400px;
  padding-bottom: 30px;
  padding-top: 30px;
  
}


/* !!!!
ipad */


@media screen and (max-width: 768px){

	.hero h1{
		font-size: 43px;
		margin-bottom: 10px;
/*     background: red; */
    padding: 10;
    height: auto;
	}
  
  body{ 
  background-image:
 url("http://www.up2me.co.il/images/926291.png"),
 url("http://www.up2me.co.il/images/54905900.png");
  background-repeat: repeat-y;
  background-position: 
    left 18px,
    right -38px;
    background-size: 18%;
  }

  
.wrapper {
  max-width: 50%;
  margin: 0 auto;
}

h2{
	font-size: 26.5px;
}

h3 {
	font-size: 12px;
/*   background: red; */
}

/* MENU SECTION */

  .menu ul {
    justify-content: flex-end;
  }
  
  .menu li {
    display: none;
  }
  
  .menu li:last-child{
    display: block;
    text-transform: uppercase;
    font-family: 'Rubik', serif;
	  font-size: 20px;
    position: fixed;
  }
  
/* IMAGE SECTION */
  
#illustration {
    display: none;
  }
  
#illustration-iphone {
    display: none;
  }
  
#illustration-ipad {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 60px;
}


/* HERO SECTION */

	.hero h1{
		font-size: 36px;
/*     background: red; */
	}

/* ABOUT SECTION */

 .about-text{
  font-size: 14px;
   }
  
  .location {
    width: 35%;
  }
  
  .hours {
    width: 35%;
  }
  
.map {
  order: -1;
  margin: 60px;
  padding-bottom: 38px;
  align-self: auto;
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  }  
  
.about-details {
  flex-wrap: wrap; 
  font-size: 14px;
}


/* FLAVORS SECTION */

.flavors-details div {
  flex: 0 0 35%;
}

.flavors-details p {
  margin-bottom: 10px;
  font-size: 11px;
}

.btn {
 	font-size: 18px;
  padding: 12px 30px 12px 30px;
  margin-top: 30px;
  flex: 0 0 45%;
}

.button {
 margin-bottom: 70px;
}
  
.order {
  height: 50%;
}
  
/* GALLERY SECTION */
  
  .gallery-iphone {
    display: none;
  }
  
.gallery-details {
  display: inline-flex;
  justify-content: center;
  align-items:center;
  padding-bottom: 120px;
}
.gallery-photo {
  width: 62.5%;
}

.gallery-photo img {
  width: 100%;
}

.right {
  width: 25.75%;
  transform: scaleX(-1);
}

.left {
  width: 25.75%;
}

.right img {
  width: 60%;
  cursor: pointer;
/*   background: red; */
}

.right img:hover {
    position: relative;
    right: 8px;
}

.left img {
  width: 60%;
  cursor: pointer;
/*   background: red; */
}

.left img:hover {
    position: relative;
    left: -8px;
}


/* QUOTE SECTION */


h4 {
	font-size: 34px;
  padding-bottom: 20px;

}
.quote {
  position: relative;
}
.quote span{
  font-size: 1.5em;
  position: absolute;
}

.quote span.start {
  right: 102%;
  top: -20px;
}

.quote span.end {
  left: 100%;
  bottom: -5px;
}

.source-quote {
  padding-bottom: 120px;
}
  
  .source-quote {
    font-size: 10px;
  }

/* CONTACT SECTION */

.contact h3 {
 	font-size: 16px;
  border: 0;
  text-align: center;
}

.contact-icons {
 flex-wrap: wrap; 
 justify-content: space-between;
}
  
.contact-icons > * {
  flex: 0 0 38%;
  
}
  
.contact-icons img {
  width: 100%;
}

/* COPYRIGHT SECTION */


  
.copyright-text {
  font-size: 9px;
  font-weight: 400px;
  padding-bottom: 30px;
  padding-top: 30px;
  
}
}

  
/* !!!!
iphone */

@media screen and (max-width: 375px){
 
  body{ 
  background-image:
 url("http://www.up2me.co.il/images/10836421.png"),
 url("http://www.up2me.co.il/images/87886093.png");
  background-repeat: repeat-y;
  background-position: 
    left 79px,
    right 180px;
    background-size: 55%;
  }

.wrapper {
  max-width: 70%;
  margin: 0 auto;
}

.hero h1{
		font-size: 30px;
		margin-bottom: 10px;
    padding: 10;
    height: auto;
	}
  
h2{
	font-size: 26.5px;
}


h3 {
	font-size: 12px;
}

/* MENU SECTION */
  
  .menu li:last-child{
	  font-size: 16px;
  }
  
/* IMAGE SECTION */
  
#illustration {
    display: none;
  }
  
#illustration-ipad {
    display: none;
  }
  
#illustration-iphone {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 30px;
}

/* HERO SECTION */

	.hero h1{
		font-size: 30px;
	}

/* ABOUT SECTION */

 .about-text{
  font-size: 14px;
  line-height: 1.4;
	margin: 0 0 40px;
   }
  
  .about-details {
  font-size: 11px;
  padding-bottom: 120px;
}
  
  .map img {
  width: 115px;
}

/* FLAVORS SECTION */

.flavors-details div {
  flex: 0 0 45%;
}

.flavors-details p {
  margin-bottom: 10px;
  font-size: 11px;
}

.btn {
  padding: 8px 30px 8px 30px;
  flex: 0 0 45%;
}

.button {
 margin-bottom: 50px;
}

/* GALLERY SECTION */
   
.gallery {
    display: none;
  }
  
.gallery-iphone {
    display: block;
  }
  
  .gallery-iphone img {
    margin-bottom: 18px;
  }  

  .gallery-iphone p {
  font-size: 12px;
  font-family: 'Roboto', serif;
  padding-bottom: 120px;
  text-transform: uppercase;
  text-decoration: underline;
  }
  
  .gallery-iphone p:hover {
    cursor:pointer; 
}

/* QUOTE SECTION */


h4 {
	font-size: 34px;
  padding-bottom: 20px;
}

/* CONTACT SECTION */
  
.contact h3 {
 	font-size: 16px;
}

/* COPYRIGHT SECTION */
  
.copyright-text {
   font-size: 9px;
}
  
}
    
              
            
!

JS

              
                
              
            
!
999px

Console