Difference between revisions of "Team:Mingdao/DM test"

Line 996: Line 996:
 
   visibility: hidden; }
 
   visibility: hidden; }
  
.imgBox {
+
 
  position: relative;
+
  overflow: hidden; }
+
  .imgBox .imgBox-inner {
+
    width: 100%;
+
    padding-top: 75%;
+
    height: 0; }
+
    .imgBox .imgBox-inner .image {
+
      width: 150px;
+
      height: 150px;
+
      position: absolute;
+
      top: 0;
+
      left: 0;
+
      background-repeat: no-repeat;
+
      background-size: cover;
+
      background-position: center; }
+
  .imgBox .img-4-5 {
+
    padding-top: 80%; }
+
  
 
   </style>
 
   </style>

Revision as of 05:05, 15 October 2018



1 / 4
2 / 4
3 / 4
4 / 4