Jump to content

Template:Navcard: Difference between revisions

m CSS test
m CSS test
Line 1: Line 1:
__NOTOC____NOEDITSECTION____NOTITLE__{{#css:
__NOTOC____NOEDITSECTION____NOTITLE__{{#css:
   #link-overlay {
   #link-overlay {
     height: {{{height|180px}}};
     height: {{{height|180}}}px;
     width: {{{width|200px}}};
     width: {{{width|200}}}px;
     border: solid;
     border: solid;
     overflow: hidden;
     overflow: hidden;
Line 9: Line 9:
   #overlay img {
   #overlay img {
     position: absolute;
     position: absolute;
     height: {{{height|180px}}};
     height: {{{height|180}}}px;
     width: {{{width|200px}}};
     width: {{{width|200}}}px;
   }
   }
    
    
Line 27: Line 27:
   #img-container img {
   #img-container img {
     height: 100%;
     height: 100%;
     width: {{{width|200px}}};
     width: {{{width|200}}}px;
     object-fit: cover;
     object-fit: cover;
   }
   }

Revision as of 15:08, 3 May 2025