From 7e2f3fca091c08771486df0b870ce187f869d363 Mon Sep 17 00:00:00 2001 From: muqiuhan Date: Tue, 28 Feb 2023 09:58:51 +0000 Subject: deploy: b780169745c17f9fc971299e923e5ca5669b5a22 --- css/post/media.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 css/post/media.css (limited to 'css/post/media.css') diff --git a/css/post/media.css b/css/post/media.css new file mode 100644 index 00000000..c1dd9608 --- /dev/null +++ b/css/post/media.css @@ -0,0 +1,16 @@ +img { + width: 100%; + height: auto; +} +.video-container { + width: 100%; + padding-top: 56.25%; + position: relative; +} +.video-container>iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} -- cgit v1.2.3