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

Aus Smart Places Network
Wechseln zu: Navigation, Suche
Zeile 7: Zeile 7:
 
     box-sizing: border-box;
 
     box-sizing: border-box;
 
     text-align: center;
 
     text-align: center;
}
+
    display: grid;
 
+
    place-items: center center;
#product-gallery > * > * {
 
    margin: 0 auto;
 
 
}
 
}

Version vom 8. Februar 2019, 19:58 Uhr

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