MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary Tag: Manual revert |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* To make images responsive */ | /* To make images stretch across content width and responsive */ | ||
.res-img img { | .res-img img { | ||
max-width:100%; | max-width:100%; | ||
height:auto; | height:auto; | ||
} | } | ||
/* */ |
Latest revision as of 16:30, 14 December 2022
/* CSS placed here will be applied to all skins */ /* To make images stretch across content width and responsive */ .res-img img { max-width:100%; height:auto; } /* */