cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <html>
  
  <head>
  </head>

<body>
 <h1 class="title">Tacos</h1>

 <!-- Begin Image -->
 <!-- Invisible Box-->
 <div class="box">
   

    <div class="plate">   
      
      <div class="bread-behind">
        <div class="bread-behind-copy"></div>       
      </div> <!--end of bread-down-shadow-->
      
      <!-- meat -->
      <div class="meat-1"></div>
      <div class="meat-2"></div>
      <div class="meat-3"></div>
      <div class="meat-4"></div>
      <div class="meat-5"></div>
      <div class="meat-6"></div>
      
      <!-- yogart -->
      <div class="yogart-1"></div>
      <div class="yogart-2"></div>
      <div class="yogart-3"></div>
      
      <!-- greens -->
      <div class="greens-1"></div>
      <div class="greens-2"></div>
      <div class="greens-3"></div>
      
      <!-- tomatoes -->
      <div class="tomato-1"></div>
      <div class="tomato-2"></div>
      <div class="tomato-3"></div>
      <div class="tomato-4"></div>
      <div class="tomato-5"></div>
      <div class="tomato-6"></div>
      
      <!-- potatoes -->
      <div class="potato-1"></div>
      <div class="potato-2"></div>
      <div class="potato-3"></div>
      <div class="potato-4"></div>
      <div class="potato-5"></div>
      <div class="potato-6"></div>
      <div class="potato-7"></div>
      <div class="potato-8"></div>
      <div class="potato-9"></div>
     
      
      <div class="bread-front">
        <!-- lines/sticks-->
        <div class="bread-upper-line-1"></div>
        <div class="bread-upper-line-2"></div>
        <div class="bread-upper-line-3"></div>
        <div class="bread-upper-line-4"></div>
        
        <div class="sesame-small-3"></div>
        <div class="sesame-small-4"></div>
        <div class="sesame-small-7"></div>
        <div class="sesame-small-8"></div>
        <div class="sesame-small-10"></div>
        
        <div class="sesame-medium-3"></div>
        <div class="sesame-medium-4"></div>
        <div class="sesame-medium-5"></div>
        
        <div class="sesame-big-1"></div>
        <div class="sesame-big-2"></div>
        <div class="sesame-big-3"></div>
      </div> <!--end of upper-bread-shadow-->

    </div><!-- End plate -->

 </div> <!-- End Invisible Box -->
  
  
  <div> <!-- for footer -->
      <h5 id="footer" class="title"><a href="http://www.eleftheriabatsou.com" target="_blank">Eleftheria </a> | <a href="https://codepen.io/EleftheriaBatsou" target="_blank">Projects</a> | <a href="https://www.youtube.com/channel/UCC-WwYv3DEW7Nkm_IP6VeQQ" target="_blank"> Coding videos </a></h5>
    </div> <!-- end footer -->
  
</body>
</html>
            
          
!
            
              $BG-color: #80DEEA; //light blue/green 
$Black: #000; //black

$plate: -webkit-gradient(radial, center center, 0, center center, 286, color-stop(0, #f6f8f9), color-stop(50, #E5EBEE), color-stop(51, #D7DEE3), color-stop(100, #f5f7f9));
$plate: -ms-radial-gradient(center, ellipse farthest-corner, #f6f8f9 0%, #E5EBEE 50%, #D7DEE3 51%, #f5f7f9 100%);
/* Mozilla Firefox */ 
$plate: -moz-radial-gradient(center, ellipse farthest-corner, #f6f8f9 0%, #E5EBEE 50%, #D7DEE3 51%, #f5f7f9 100%);
/* Opera */ 
$plate: -o-radial-gradient(center, ellipse farthest-corner, #f6f8f9 0%, #E5EBEE 50%, #D7DEE3 51%, #f5f7f9 100%);
/* Webkit (Safari/Chrome 10) */ 
$plate: -webkit-gradient(radial, center center, 0, center center, 286, color-stop(0, #f6f8f9), color-stop(50, #E5EBEE), color-stop(51, #D7DEE3), color-stop(100, #f5f7f9));
/* Webkit (Chrome 11+) */ 
$plate: -webkit-radial-gradient(center, ellipse farthest-corner, #f6f8f9 0%, #E5EBEE 50%, #D7DEE3 51%, #f5f7f9 100%);
/* W3C Markup */ 
$plate: radial-gradient(ellipse farthest-corner at center, #f6f8f9 0%, #E5EBEE 50%, #D7DEE3 51%, #f5f7f9 100%);

$bread: #f3c23f;
$bread-shadow: #cba231;
$bread-lines: #3E2723;
$meat: #a65c52;
$meat-shadow:#8f4731;
$yogart: #fcfcfc;
$yogart-shadow: #c8c1c8;
$greens: #61c805;
$greens-shadow: #005300;
$tomato: #fe2c35;
$tomato-shadow: #b10000;
$potato: #fbe96d;
$potato-shadow: #efb126;
$sesame: #fde9af;


  
.title{text-align: center;}

#footer a:link{color:$Black}
#footer a:visited{color:$Black}
#footer a:hover{color:$bread-shadow}

body{background: $BG-color;}

.box{  
  position: relative;
  margin: auto;
  display: block;
  /*optional background or border*/
  //border: solid 4px red;
  
  margin-top: -2%;
  width: 600px;
  height: 420px;
  background: none;
}

.plate{
  position: absolute;
  top: 5.5%;
  left: 13%;
  width: 75%;
  height: 87%;
  background: $plate;
  border-radius: 50%; 
}

.bread-behind{
  position: absolute;
  top: 2%;
  left: 9%;
  width: 78%;
  height: 53%;
  background: $bread-shadow;
  border: $bread 8px solid;
  -webkit-clip-path: circle(50% at 50% 100%);
  clip-path: circle(50% at 50% 100%);
}
.bread-behind-copy{ 
  position: absolute;
  top: 4%;
  left: -1%;
  width: 100%;
  height: 100%;
  background: $bread;
  -webkit-clip-path: circle(50% at 50% 100%);
  clip-path: circle(50% at 50% 100%);
}
//write the bread front but then put it in comments so you can do  the rest






.meat-1{
  position: absolute;
  top: 44%;
  left: 62%;
  width: 17%;
  height: 9%;
  background: $meat;
  border-bottom: $meat-shadow 8px solid;
  border-radius: 47%; 
}
.meat-2{
  position: absolute;
  top: 38%;
  left: 60%;
  width: 17%;
  height: 9%;
  background: $meat;
  border-bottom: $meat-shadow 8px solid;
  border-radius: 47%; 
}
.meat-3{
  position: absolute;
  top: 34%;
  left: 58%;
  width: 17%;
  height: 9%;
  background: $meat;
  border-bottom: $meat-shadow 8px solid;
  border-radius: 47%; 
}
.meat-4{
  position: absolute;
  top: 44%;
  left: 57%;
  width: 17%;
  height: 9%;
  background: $meat;
  border-bottom: $meat-shadow 8px solid;
  border-radius: 47%; 
}
.meat-5{
  position: absolute;
  top: 47%;
  left: 60%;
  width: 17%;
  height: 9%;
  background: $meat;
  border-bottom: $meat-shadow 8px solid;
  border-radius: 47%; 
}
.meat-6{
  position: absolute;
  top: 31%;
  left: 55%;
  width: 17%;
  height: 9%;
  background: $meat;
  border-bottom: $meat-shadow 8px solid;
  border-radius: 47%; 
}

.yogart-1{
  position: absolute;
  top: 44%;
  left: 65%;
  width: 7%;
  height: 12%;
  background: $yogart;
  border-bottom: $yogart-shadow 8px solid;
  border-left: $yogart-shadow 4px solid;
  border-radius: 50%; 
}
.yogart-2{
  position: absolute;
  top: 36%;
  left: 62%;
  width: 7%;
  height: 12%;
  background: $yogart;
  border-bottom: $yogart-shadow 8px solid;
  border-left: $yogart-shadow 4px solid;
  border-radius: 50%; 
}
.yogart-3{
  position: absolute;
  top: 27%;
  left: 59%;
  width: 7%;
  height: 12%;
  background: $yogart;
  border-bottom: $yogart-shadow 8px solid;
  border-left: $yogart-shadow 4px solid;
  border-radius: 50%; 
}

.greens-1{
  position: absolute;
  top: 12%;
  left: 49%;
  width: 17%;
  height: 32%;
  background: $greens;
  border-bottom: $greens-shadow 8px solid;
  border-radius: 50%; 
  
  -webkit-clip-path: polygon(79% 100%, 87% 84%, 75% 72%, 91% 57%, 91% 37%, 75% 22%, 65% 33%, 61% 11%, 49% 28%, 36% 17%, 37% 37%, 21% 18%, 10% 27%, 11% 59%, 13% 79%, 1% 86%, 4% 98%, 22% 100%);
clip-path: polygon(79% 100%, 87% 84%, 75% 72%, 91% 57%, 91% 37%, 75% 22%, 65% 33%, 61% 11%, 49% 28%, 36% 17%, 37% 37%, 21% 18%, 10% 27%, 11% 59%, 13% 79%, 1% 86%, 4% 98%, 22% 100%);
}
.greens-2{
  position: absolute;
  top: 26%;
  left: 51%;
  width: 17%;
  height: 32%;
  background: $greens;
  border-bottom: $greens-shadow 8px solid;
  border-radius: 50%; 
  
 -webkit-clip-path: polygon(68% 1%, 88% 13%, 79% 26%, 97% 50%, 86% 61%, 99% 83%, 92% 88%, 98% 97%, 86% 100%, 62% 100%, 49% 73%, 44% 37%, 39% 14%, 30% 0%);
clip-path: polygon(68% 1%, 88% 13%, 79% 26%, 97% 50%, 86% 61%, 99% 83%, 92% 88%, 98% 97%, 86% 100%, 62% 100%, 49% 73%, 44% 37%, 39% 14%, 30% 0%);
}
.greens-3{
  position: absolute;
  top: 17.5%;
  left: 26%;
  width: 37%;
  height: 42%;
  background: $greens;
  border-bottom: $greens-shadow 8px solid;
  border-radius: 50%; 
  
-webkit-clip-path: polygon(1% 23%, 10% 0%, 23% 19%, 32% 7%, 41% 18%, 46% 4%, 56% 1%, 53% 16%, 81% 17%, 73% 8%, 84% 2%, 92% 0%, 92% 16%);
clip-path: polygon(1% 23%, 10% 0%, 23% 19%, 32% 7%, 41% 18%, 46% 4%, 56% 1%, 53% 16%, 81% 17%, 73% 8%, 84% 2%, 92% 0%, 92% 16%);
}

.tomato-1{
  position: absolute;
  top: 28%;
  left: 65%;
  width: 3%;
  height: 4%;
  background: $tomato;
  border-bottom: $tomato-shadow 4px solid;
  border-left: $tomato-shadow 3px solid;
  border-radius: 50%;
}
.tomato-2{
  position: absolute;
  top: 25%;
  left: 61%;
  width: 3%;
  height: 4%;
  background: $tomato;
  border-bottom: $tomato-shadow 4px solid;
  border-left: $tomato-shadow 3px solid;
  border-radius: 50%;
}
.tomato-3{
  position: absolute;
  top: 21%;
  left: 56%;
  width: 3%;
  height: 4%;
  background: $tomato;
  border-bottom: $tomato-shadow 4px solid;
  border-left: $tomato-shadow 3px solid;
  border-radius: 50%;
}
.tomato-4{
  position: absolute;
  top: 21%;
  left: 41%;
  width: 3%;
  height: 4%;
  background: $tomato;
  border-bottom: $tomato-shadow 4px solid;
  border-left: $tomato-shadow 3px solid;
  border-radius: 50%;
}
.tomato-5{
  position: absolute;
  top: 22%;
  left: 37%;
  width: 3%;
  height: 4%;
  background: $tomato;
  border-bottom: $tomato-shadow 4px solid;
  border-left: $tomato-shadow 3px solid;
  border-radius: 50%;
}
.tomato-6{
  position: absolute;
  top: 21%;
  left: 48%;
  width: 3%;
  height: 4%;
  background: $tomato;
  border-bottom: $tomato-shadow 4px solid;
  border-left: $tomato-shadow 3px solid;
  border-radius: 50%;
}

.potato-1{
  position: absolute;
  top: 28%;
  left: 45%;
  width: 20%;
  height: 3%;
  background: $potato;
  border-bottom: $potato-shadow 4px solid;
  border-left: $potato-shadow 3px solid;
  border-radius: 50%;
}
.potato-2{
  position: absolute;
  top: 48%;
  left: 49%;
  width: 20%;
  height: 3%;
  background: $potato;
  border-bottom: $potato-shadow 4px solid;
  border-left: $potato-shadow 3px solid;
  border-radius: 50%;
}
.potato-3{
  position: absolute;
  top: 32%;
  left: 47%;
  width: 20%;
  height: 3%;
  background: $potato;
  border-bottom: $potato-shadow 4px solid;
  border-left: $potato-shadow 3px solid;
  border-radius: 50%;
}
.potato-4{
  position: absolute;
  top: 42%;
  left: 47%;
  width: 20%;
  height: 3%;
  background: $potato;
  border-bottom: $potato-shadow 4px solid;
  border-left: $potato-shadow 3px solid;
  border-radius: 50%;
}
.potato-5{
  position: absolute;
  top: 36%;
  left: 44%;
  width: 20%;
  height: 3%;
  background: $potato;
  border-bottom: $potato-shadow 4px solid;
  border-left: $potato-shadow 3px solid;
  border-radius: 50%;
}
.potato-6{
  position: absolute;
  top: 39%;
  left: 47%;
  width: 20%;
  height: 3%;
  background: $potato;
  border-bottom: $potato-shadow 4px solid;
  border-left: $potato-shadow 3px solid;
  border-radius: 50%;
}
//change the height & width
.potato-7{
  position: absolute;
  top: 20%;
  left: 52%;
  width: 5%;
  height: 23%;
  background: $potato;
  border-bottom: $potato-shadow 4px solid;
  border-left: $potato-shadow 3px solid;
  border-radius: 50%;
}
.potato-8{
  position: absolute;
  top: 20%;
  left: 43%;
  width: 5%;
  height: 23%;
  background: $potato;
  border-bottom: $potato-shadow 4px solid;
  border-left: $potato-shadow 3px solid;
  border-radius: 50%;
}
//change the height & width
.potato-9{
  position: absolute;
  top: 25%;
  left: 51%;
  width: 10%;
  height: 3%;
  background: $potato;
  border-bottom: $potato-shadow 4px solid;
  border-left: $potato-shadow 3px solid;
  border-radius: 50%;
}


.bread-front{ //the front bread
  position: absolute;
  top: -0.3%;
  left: 12%;
  width: 60%;
  height: 60%;
  background: $bread;
  -webkit-clip-path: circle(50% at 50% 100%);
  clip-path: circle(50% at 50% 100%);
}

.bread-upper-line-1{
  position: absolute;
  top: 88%;
  left: 10%;
  width: 30%;
  height: 0.3%;
  background: $bread-shadow;
  border-radius: 45%;
}
.bread-upper-line-2{
  position: absolute;
  top: 90%;
  left: 8%;
  width: 30%;
  height: 0.6%;
  background: $bread-shadow;
  border-radius: 45%;
}
//left-->right
.bread-upper-line-3{
  position: absolute;
  top: 92%;
  right: 10%;
  width: 30%;
  height: 0.3%;
  background: $bread-shadow;
  border-radius: 45%;
}
.bread-upper-line-4{
  position: absolute;
  top: 96%;
  right: 8%;
  width: 30%;
  height: 0.3%;
  background: $bread-shadow;
  border-radius: 45%;
}



/* exactly the same as in the hamburger projest.
I didn't change anything, I just deleted the ones that didn't dissapear */
//change top/bottom and left/right
//small

.sesame-small-3{
  position: absolute;
  bottom: 15.5%;
  left: 33%;
  width: 2%;
  height: 2%;
  background: $sesame;
  border-radius: 48%;
}
.sesame-small-4{
  position: absolute;
  bottom: 15.5%;
  right: 33%;
  width: 2%;
  height: 2%;
  background: $sesame;
  border-radius: 48%;
}
.sesame-small-7{
  position: absolute;
  bottom: 32.5%;
  left: 23%;
  width: 2%;
  height: 2%;
  background: $sesame;
  border-radius: 48%;
}
.sesame-small-8{
  position: absolute;
  bottom: 35.5%;
  right: 26%;
  width: 2%;
  height: 2%;
  background: $sesame;
  border-radius: 48%;
}
.sesame-small-10{
  position: absolute;
  bottom: 12.5%;
  right: 50%;
  width: 2%;
  height: 2%;
  background: $sesame;
  border-radius: 48%;
}
//medium
.sesame-medium-3{
  position: absolute;
  bottom: 27.5%;
  left: 33%;
  width: 3%;
  height: 4%;
  background: $sesame;
  border-radius: 48%;
}
.sesame-medium-4{
  position: absolute;
  bottom: 25.5%;
  right: 26%;
  width: 3%;
  height: 4%;
  background: $sesame;
  border-radius: 48%;
}
.sesame-medium-5{
  position: absolute;
  bottom: 37.5%;
  left: 43%;
  width: 3%;
  height: 4%;
  background: $sesame;
  border-radius: 48%;
}

//big
.sesame-big-2{
  position: absolute;
  top: 41.5%;
  left: 46%;
  width: 4%;
  height: 5%;
  background: $sesame;
  border-radius: 48%;
}
.sesame-big-3{
  position: absolute;
  top: 65.5%;
  left: 56%;
  width: 4%;
  height: 5%;
  background: $sesame;
  border-radius: 48%;
}





            
          
!
999px
Loading ..................

Console