Difference between revisions of "Benutzer: Jonar/common.css"
From Smart Places Network
| Line 23: | Line 23: | ||
top: 0; | top: 0; | ||
min-width: 200px; | min-width: 200px; | ||
| − | |||
| − | |||
background-color: #ffffcc; | background-color: #ffffcc; | ||
padding: 4px; | padding: 4px; | ||
Revision as of 21:36, 8 February 2019
#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 .image {
position: relative;
background-color: blue;
}
#product-gallery .image::after {
content: attr(title);
position: absolute;
left: 150px;
top: 0;
min-width: 200px;
background-color: #ffffcc;
padding: 4px;
color: #000000;
z-index: 1;
}