<template>
  <div class="main">
    <div class="video">
      <video autoplay loop class="login-video">
        <source src="@/assets/background.mp4" type="video/mp4">
      </video>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  computed: {},
  mounted() { },
  methods: {}
}
</script>

<style scoped lang="scss">
.main {
  position: relative;
  height: 100%;
  width: 100%;

  .login-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;

    source {
      width: 100%;
      height: 100%;
    }
  }
}
</style>
