diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-26 12:05:19 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2021-06-26 12:05:19 +0800 |
commit | 11edca189059cf5bbe78443afbb191e740c6fa60 (patch) | |
tree | 680e04a27e0905f05ef1bb48a477d590c0c58672 /_sass/yat | |
parent | 29f69dcc2aacc5a100e5d15d1decf0a8d1f15cac (diff) |
feat: support video banner
Diffstat (limited to '_sass/yat')
-rw-r--r-- | _sass/yat/_layout.scss | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |