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 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>
<html lang="en">
<head>

  



<title>arbeit</title>


<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>


<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>









<style>



body {
       display: grid;
       display: -ms-grid; 
       
     
       grid-template:
       
        "header header header header" auto
        "nav nav nav nav" auto
        "main main main main" auto
        "main main main main" auto
        "footer footer footer footer" auto; 
       
       -ms-grid-columns: 8% 64% 28%;
       -ms-grid-row:  7.5rem 5rem 6.4375rem; 
       -ms-grid-gap: 0.3125rem;
    
} 




header {background-color: #f7eded; padding: 2.5rem; padding-top: 8.5rem;  padding-bottom: 1rem; }


header a {

    font-family: italic;
    color: black;
    text-decoration: none;
	display: inline;
	padding: 0 2rem 0 0.2rem;
	font-size: 1.25rem;
    
} 

  
header li { display: inline-block;  }

header ul{  padding-left: 14.5rem; }        /* beweget computer, News und Bucher   */



.dropdown a { text-decoration: none;  padding: 0.7rem 3rem 0.7rem 0.5rem;}  



 
.dropdown-content {
    display: none; /* display wird ausgeschaltet ,aber erlaubt die anderen elemente, position ,background ,.... */
    font-size: 0.8125rem;
	position: absolute; /* die stellung folgt der Erste Link(li) */
    background-color: #f1f1f1;
    min-width: 0.9375rem; /* macht größer die Inneren Links */
    box-shadow: 0rem 0.5rem 1rem 0rem rgba(0,0,0,0.2); /* Bau ein Schatte und geben an dem Schatten Farbe  */
    z-index: 1;    /*  Zeigen die Ordnung wie die Links gezeigt werden... */

    
    
}


.dropdown-content:before {

  pointer-events: none;
  position: absolute;
  z-index: -5;
  content: '';
  border-style: solid;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  left: calc(20% - 10px);
  top: -10px;
  border-width: 0 12px 12px 12px;
  border-color: transparent transparent #e7caca transparent;

}

   



.dropdown-content a {
    color: black;
    padding: 0.75rem 1.6875rem 0.9375rem 0.5rem;
    text-decoration: none;               /* Bekomme die Liks keine Unten Stricht ....*/
    display: block;
    font-size: 0.9375rem;
    text-align: left;
    font-weight: bold;
    
    
}


.dropdown-content a:hover { background-color: #e7caca; }

/* Offnen die Innere Links */

.dropdown:hover .dropdown-content {
    display: block;
    top: 2.2rem;
}


header{

        grid-area: header;
        display: block; 

}

  
nav {

        grid-area: nav;
        display: block; 
       
       background-image: url("Photo/backgound.webp");
       background-size: cover;
       background-repeat: no-repeat;
       background-size: 100% auto;
       width: 100%;
       height: auto;
       padding: 170px;
       
      
}



main {
        grid-area: main;
        background-color: #efdcdc;
       
      
}


footer {

        grid-area: footer;
        display: block; 
        background-color: #f7eded; 

}


.log {

  padding: 1rem;
}


#logo {
    display: block;
    position: absolute;
    top: 2%;
    left: 0;
  
} 


/* hier anfanf Body Element   */

.container-fluid { padding: 7% 14% 0 14%;}      








.row .col{
  border: solid 1px #6c757d;
  padding: 10px;
  margin: 10px; 
  
}     



.col {
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    overflow: hidden;
    position: relative;
    border: 4px solid #fff;
    margin-top: 170px;
    background-color: #ffffff;
}



.product-grid:hover:before
.product-grid .product-image{
     overflow: hidden;
     
    
     
}



.product-grid .product-image a{ display: inline-block; }
.product-grid .product-image img{
     width: 50%;
     
     
    
}





.product-content a { text-decoration: none; }


.product-grid .product-content{
    
     text-align: left;
     z-index: 2;
     background-color: white;
    
    
}


.product-grid .title{
     font-size: 16px;
     font-weight: 500;
      padding-top: 12%; 
    
}




.product-grid .price{
     color: #fa8231;
     font-size: 18px;
     font-weight: 600;
     margin-top: 15%;
}






/*  div-zoom-fenster   */

.div-zoom { padding: 2%; padding-top: 15%; text-align: left;}

/*  zum-warenkorb    */
.zum-warenkorb { font-size: 89%; background-color: #bfbfbf; color: #ffffff; padding: 2%; margin-top: 2%; text-align: left;}

.div-zoom i {padding-bottom: 5%; margin-left: 4%; } 

/* div-zoom-fenster ende   */

.link {text-decoration: none; }
.link:hover {color: #87cb67;}

.links { text-decoration: none;  color: black;} 
.links:hover {color:  #bfbfbf;  }

.modal-body { padding: 100px; }


/*      ***** Anfang    Fenster producut **** */


/* Determina el fondo transparente cuando se muestra la previsualizacion */
#layerPreview		{position:absolute;z-index:1;display:none;top: 0px;left:0px;width:100%;height:100%;background-color:#fff;
					opacity: 0.5;-moz-opacity: 0.5;filter: alpha(opacity=50);-khtml-opacity: 0.5;
}
/* Determina la capa que aparecera centrada */
#layerPreviewContent{position:absolute;z-index:1;display:none;background-color:#fff;left:50%;
					width:300px;
					margin-left:-150px;
					height:200px;
					padding:2px;border:1px solid;
}

/*  *****    ende    Fenster producut ******  */



</style>
</head>

<body>

<header>


<div class="log">
<img id="logo" src="/Kalamulur/Photo/my-logo5.png" alt="">
</div>



<div class="linken">
  <ul class="linken_ul">
     <li class="dropdown">
     <a href="/Kalamulur/home.php" class="dropdown"><i>Home</i></a>
     </li>
     <li class="dropdown">
       <a href="#" class="dropdown"><i>Taschen & Rucksäcke</i></a>
          <div class="dropdown-content"> 
            <a href="tachen_rucksacke_&_Computertaschen.php"><i>Taschen, Tablettaschen & Computertaschen</i></a>
            <a href=""><i>Rucksäcke</i></a>
            <a href=""><i>Beutel</i></a>
            <a href=""><i>Gürteltasche, Mäppchen & Schnupftabakdose</i></a>
          </div>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown"><i>Haus</i></a>
         <div class="dropdown-content">
          <a href=""><i>Dekoration</i></a>
          <a href=""><i>Teppich</i></a>
          <a href=""><i>Yogamatten & Necessaire</i></a>
         </div>
       </li>
       <li class="dropdown">
        <a href="#" class="dropdown"><i>Kleidung</i></a>
         <div class="dropdown-content">
          <a href=""><i>T-Shirts für Frauen & Männer</i></a>
          <a href=""><i>Hösen für Frauen & Männer</i></a>
          <a href=""><i>Schals, Mützen & Hute</i></a>
          <a href=""><i>Sandalen</i></a> 
         </div> 
       </li>
       <li  class="dropdown"> 
        <a href="#" class="dropdown"><i>Schmuck</i></a> 
          <div class="dropdown-content">
           <a href="#"><i>Ringe, Ohrringe, Ketten ...</i></a>
          </div>
       </li>
       <li  class="dropdown"> 
       <a href="#" class="dropdown"><i>Über uns</i></a>
       </li> 
       <li class="dropdown">
        <a href="#" class="dropdown">&#127757; Deutsch</a>
        <div class="dropdown-content">
         <a href="">English</a>
        </div>
      </li> 
    </ul> 
</div>

</header>

<nav>

</nav>


<main> 

 

<div class="container-fluid">
    <div class="row">
       
         <div class="col"> 
             
          <div class="product-grid">
                
                <div class="product-image">
                   <a class="link" href="/tachen_&_rucksacke/fenster/mochila_doble_tirantes-violeta.php">
                    <img alt=""  class="bild" src="photo/111.jpg">     
                   </a> 
                   
                </div>
                   
                <div class="product-content">
                     <a class="links" href="/tachen_&_rucksacke/fenster/mochila_doble_tirantes-violeta.php">
                    <p class="title">Mochila doble tirantes Violeta</p>
                    </a>     
                      
                </div>
         
                



                <div class="price">$16.00</div>
                      
                     <div class="div-zoom">

                        <span class="zum-warenkorb">zum warenkorb hinzufügen</span>
   

                         
                        <i class="fa fa-search-plus" style="font-size: 94%; color: white; background-color:  #595959; padding: 3%; cursor: zoom-in;" onclick='layer_show();'></i></div> 
                                       
                       
                        
                      
                       
                           
                          

                           
                     
                      
                 </div>
 

                        
                                                  
                
            </div> 
               
<!-- En el momento que se pulse sobre la capa transparente se cerrara -->
                       <div id="layerPreview" ></div>
                       <div id='layerPreviewContent'>
	                    <!-- Mostramos el texto de cerrar para poder cerrar la ventana -->
	                  <div style='width:100%;text-align:right;border-bottom:1px solid;'><span onclick="layer_close();" style='cursor:pointer;padding-right:5px;'>Schließen</span></div>
	                    zu füllen.....
                        </div>
          
         

          <div class="col">
            <div class="product-grid">
                
                <div class="product-image">
                   <a class="link" href="/tachen_&_rucksacke/fenster/mochila_doble_tirantes-violeta.php">
                    <img alt=""  class="bild" src="photo/111.jpg">     
                   </a> 
                   
                </div>
                   
                <div class="product-content">
                     <a class="links" href="/tachen_&_rucksacke/fenster/mochila_doble_tirantes-violeta.php">
                    <p class="title">Mochila doble tirantes Violeta</p>
                    </a>     
                      
                </div>
                    <div class="price">$16.00</div>
                      
                     <div class="div-zoom">
                                       
                   <span class="zum-warenkorb">zum warenkorb hinzufügen</span>
                   <i class="fa fa-search-plus" style="font-size: 15px; color: white; background-color:  #595959; padding: 0.5rem;"></i>
                 </div> 
            </div>
                
              
         
        


           </div><div class="col">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt="" class="bild" src="photo/111.jpg">
                    </a>
                </div>
                <div class="product-content">
                    <h3 class="title">
                        <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
            </div>
        </div><div class="col">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt="" class="bild" src="photo/111.jpg">
                    </a>
                </div>
                <div class="product-content">
                    <h3 class="title">
                        <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
            </div>
        </div>     
   </div>
  <div class="row">
        <div class="col"> 
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt=""  class="bild" src="photo/111.jpg">
                    </a>
                </div>
                <div class="product-content">
                    <h3 class="title">
                       <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
            </div>
        </div>
        <div class="col">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt="" class="bild" src="photo/111.jpg">
                    </a>
                </div>
                <div class="product-content">
                    <h3 class="title">
                        <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
             </div>
        </div><div class="col">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt="" class="bild" src="photo/111.jpg">
                    </a>
                </div>
                <div class="product-content">
                    <h3 class="title">
                        <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
             </div>
        </div><div class="col">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt="" class="bild" src="photo/111.jpg">
                    </a>
                </div>
                <div class="product-content">
                    <h3 class="title">
                        <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
            </div>
        </div>
     </div>
     <div class="row">
        <div class="col"> 
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt=""  class="bild" src="photo/111.jpg">
                    </a>
                    
                </div>
                <div class="product-content">
                    <h3 class="title">
                       <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
             </div>
         </div>
        <div class="col">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt="" class="bild" src="photo/111.jpg">
                    </a>
                </div>
                <div class="product-content">
                    <h3 class="title">
                        <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
             </div>
        </div>
        <div class="col">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt="" class="bild" src="photo/111.jpg">
                    </a>
                </div>
                <div class="product-content">
                    <h3 class="title">
                        <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
             </div>
        </div>
        <div class="col">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#">
                        <img alt="" class="bild" src="photo/111.jpg">
                    </a>
                </div>
                <div class="product-content">
                    <h3 class="title">
                        <a href="#">Mochila doble tirantes </a>
                    </h3>
                    <div class="price">$16.00</div>
                </div>
             </div>
        </div>
     </div>
</div>





</main>


<footer>



</footer>




</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
	/**
	 * Funcion que muestra las capas
	 */
function layer_show()
	{
		/* Ponemos los atributos de posicion a la capa transparente del fondo */
		$('#layerPreview').attr("style", "top:0px; height:"+$(document).height()+"px; width:"+$(window).width()+"px; display:inline;");
		
		/* Buscamos la posicion superior de la capa que aparece centrada.
		   La anchura y la posicion centrada se establece en el estilo */
		var posTop=(($(window).height()/2)-(200/2))+$(document).scrollTop();
		if(posTop<0)
			posTop=0;
		$('#layerPreviewContent').attr("style", "top:"+posTop+"px;");
		/* Indicamos que se muestre la capa */
		$('#layerPreviewContent').show(600);
}
	
	/**
	 * Funcion que esconde las capas
	 */
function layer_close()
	{
		$('#layerPreviewContent').hide(300);
		$('#layerPreview').hide();
}

              
            
!
999px

Console