From 11edca189059cf5bbe78443afbb191e740c6fa60 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Sat, 26 Jun 2021 12:05:19 +0800 Subject: feat: support video banner --- _sass/yat/_layout.scss | 5 +++++ 1 file changed, 5 insertions(+) (limited to '_sass/yat') diff --git a/_sass/yat/_layout.scss b/_sass/yat/_layout.scss index 2acf1f1..8bc0814 100644 --- a/_sass/yat/_layout.scss +++ b/_sass/yat/_layout.scss @@ -575,6 +575,11 @@ html { transition: 0.1s all ease-in-out; } + & > video { + width: 100vw; + object-fit: cover; + } + & > img.img-placeholder { display: none; } -- cgit v1.2.3