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

Aus Smart Places Network
Wechseln zu: Navigation, Suche
Zeile 13: Zeile 13:
  
 
#product-gallery > *::after {
 
#product-gallery > *::after {
     content: "";
+
     content: attr(title);
    background-color: blue;
 
    height: 100px;
 
    width: 100px;
 
 
}
 
}

Version vom 8. Februar 2019, 21:07 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;
}

#product-gallery > *::after {
    content: attr(title);
}