diff options
Diffstat (limited to 'site/src/views')
| -rw-r--r-- | site/src/views/index/index.vue | 13 |
1 files changed, 13 insertions, 0 deletions
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> |
