Benutzer: Jonar/common.css : Différence entre versions

De Smart Places Network
Aller à : navigation, rechercher
Ligne 5 : Ligne 5 :
 
     height: 155px;
 
     height: 155px;
 
     margin: 5px;
 
     margin: 5px;
 +
    margin-bottom: 20px;
 
     padding: 14px;
 
     padding: 14px;
 
     box-sizing: border-box;
 
     box-sizing: border-box;
Ligne 14 : Ligne 15 :
 
#product-gallery > *::after {
 
#product-gallery > *::after {
 
     content: attr(title);
 
     content: attr(title);
 +
    position: absolute;
 +
    top: 10px;
 
}
 
}

Version du 8 février 2019 à 21:09

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

#product-gallery > *::after {
    content: attr(title);
    position: absolute;
    top: 10px;
}