Difference between revisions of "MediaWiki: Common.css"
From PAWS Lab
Line 3: | Line 3: | ||
/* To make images responsive */ | /* To make images responsive */ | ||
.res-img img { | .res-img img { | ||
+ | max-width:100%; | ||
+ | height:auto; | ||
+ | } | ||
+ | |||
+ | .res-img a img { | ||
max-width:100%; | max-width:100%; | ||
height:auto; | height:auto; |
Revision as of 07:15, 17 December 2018
/** CSS placed here will be applied to all skins */ /* To make images responsive */ .res-img img { max-width:100%; height:auto; } .res-img a img { max-width:100%; height:auto; } .res-image{ border: 1px solid black; }