diff options
author | Cedric Spindler <cedric.spindler@gmail.com> | 2019-09-06 09:08:05 +0200 |
---|---|---|
committer | Cedric Spindler <cedric.spindler@gmail.com> | 2019-09-06 09:08:05 +0200 |
commit | e47424fdef341990b69a8d14721d3feb93cd6da1 (patch) | |
tree | ddf6b292e927c45c41f63ff873dbd630c5d8af00 /css | |
parent | 69e03ffde1e94af6f579c363969d3403c468ed6a (diff) |
Add class to let image fill container in x
Diffstat (limited to 'css')
-rwxr-xr-x | css/local.css | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/css/local.css b/css/local.css index a0b99951..2d557249 100755 --- a/css/local.css +++ b/css/local.css @@ -9,10 +9,18 @@ .urlwordbreakall { word-break: break-all; } + +/* +.half-width-img have to table cols at 50% each and fit image in col +*/ table.half-width-img th { width: 50%; } -table.half-width-img img { +/* +.img-fill-container scale an image to fit container in x axis +*/ +table.half-width-img img, +.img-fill-container { width: 100%; height: auto; } |