Benutzer: Jonar/common.css: Unterschied zwischen den Versionen

Aus Smart Places Network
Wechseln zu: Navigation, Suche
Zeile 5: Zeile 5:
 
     height: 155px;
 
     height: 155px;
 
     margin: 5px;
 
     margin: 5px;
    margin-bottom: 40px;
 
 
     padding: 14px;
 
     padding: 14px;
 
     box-sizing: border-box;
 
     box-sizing: border-box;
Zeile 11: Zeile 10:
 
     display: grid;
 
     display: grid;
 
     place-items: center center;
 
     place-items: center center;
}
 
 
#product-gallery > *::after {
 
    content: attr(title);
 
    position: absolute;
 
    top: 100px;
 
 
}
 
}

Version vom 8. Februar 2019, 21:12 Uhr

#product-gallery > * {
    border: 1px solid #c8ccd1;
    background-color: #f8f9fa;
    width: 155px;
    height: 155px;
    margin: 5px;
    padding: 14px;
    box-sizing: border-box;
    text-align: center;
    display: grid;
    place-items: center center;
}