Difference between revisions of "MediaWiki:Common.css"

From EclectricWiki
Jump to: navigation, search
Line 2: Line 2:
  
 
/* To make images responsive */
 
/* To make images responsive */
.resp-img img {
+
.res-img img {
     max-width:100% !important;
+
     max-width:100%;
     width:100% !important;  
+
     width:100%;
 +
    height:auto; 
 
}
 
}

Revision as of 16:15, 9 June 2018

/* CSS placed here will be applied to all skins */

/* To make images responsive */
.res-img img {
    max-width:100%;
    width:100%;  
    height:auto;  
}