diff options
Diffstat (limited to 'site/src')
| -rw-r--r-- | site/src/assets/video/bg.mp4 | bin | 0 -> 877575 bytes | |||
| -rw-r--r-- | site/src/views/index/index.vue | 13 |
2 files changed, 13 insertions, 0 deletions
diff --git a/site/src/assets/video/bg.mp4 b/site/src/assets/video/bg.mp4 Binary files differnew file mode 100644 index 0000000..37e71d2 --- /dev/null +++ b/site/src/assets/video/bg.mp4 diff --git a/site/src/views/index/index.vue b/site/src/views/index/index.vue index ed34b4f..edba96f 100644 --- a/site/src/views/index/index.vue +++ b/site/src/views/index/index.vue @@ -13,6 +13,7 @@ import Right from './Right.vue' </header> <main class="main"> + <video src="@/assets/video/bg.mp4" loop=true autoplay=true></video> <Right /> </main> </template> @@ -44,4 +45,16 @@ header { flex-wrap: wrap; } } + +video{ + position: fixed; + right: 0; + bottom: 0; + min-width: 100%; + min-height: 100%; + width: auto; + height: auto; + z-index: -100; + filter: grayscale(20%); +} </style> |
