Difference between revisions of "Team:Tuebingen/galleryTest"

Line 613: Line 613:
 
}
 
}
  
div img {
+
.gallery div img {
 
width: 100%;
 
width: 100%;
 
height: 100%;
 
height: 100%;
Line 622: Line 622:
 
}
 
}
 
@media only screen and (max-width: 600px) {
 
@media only screen and (max-width: 600px) {
     div img {
+
     .gallery div img {
 
         width: 100%;
 
         width: 100%;
 
   max-width: 400px;
 
   max-width: 400px;
Line 629: Line 629:
 
}
 
}
  
div.show::before {
+
.gallery div.show::before {
 
content: '';
 
content: '';
 
display: block;
 
display: block;
Line 640: Line 640:
 
}
 
}
  
div.show img {
+
.gallery div.show img {
 
position: fixed;
 
position: fixed;
 
top: 0; left: 0;
 
top: 0; left: 0;
Line 653: Line 653:
 
}
 
}
  
div:not(.show):hover img {
+
.gallery div:not(.show):hover img {
 
cursor: pointer;
 
cursor: pointer;
 
transform: scale(1.3);
 
transform: scale(1.3);

Revision as of 21:22, 2 October 2019

Gallery

hallo123

hallo123

hallo123