Difference between revisions of "Página de pruebas 4"

From Sinfronteras
Jump to: navigation, search
Line 1: Line 1:
 
+
<div class="container">
 
+
<div class="box"></div>
 
+
<div class="box overlay"></div>
 
+
</div>
  
  
Line 112: Line 112:
 
         width: 100% !important;
 
         width: 100% !important;
 
         z-index: -1 !important;
 
         z-index: -1 !important;
 +
    }
 +
    .container {
 +
        width: 150px;
 +
        height: 150px;
 +
        position: relative;
 +
        margin: 30px;
 +
    }
 +
    .box {
 +
        width: 100%;
 +
        height: 100%;
 +
        position: absolute;
 +
        top: 0;
 +
        left: 0;
 +
        opacity: 0.7;
 +
        background: #0057e3;
 +
    }
 +
    .overlay {
 +
        z-index: 9;
 +
        margin: 30px;
 +
        background: #009938;
 
     }
 
     }
 
}}
 
}}

Revision as of 18:57, 2 March 2021