Difference between revisions of "MediaWiki:Common.css"

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

Revision as of 15:58, 9 June 2018

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

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