Added video background for profile

main
Sacha Leone ago%!(EXTRA string=10 months)
parent e3cd361c46
commit 394376f2d2
  1. BIN
      assets/profile/background.mp4
  2. 9
      css/profile.css
  3. 3
      html/templates/profile/profile.html

Binary file not shown.

@ -5,7 +5,14 @@
display: flex;
align-items: center;
}
#myVideo {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
z-index: -1;
}
#profile
{
width: 50%;

@ -3,6 +3,9 @@
<div class="profile-header">
<p class="">Profile</p>
</div>
<video autoplay muted loop id="myVideo">
<source src="/assets/profile/background.mp4" type="video/mp4">
</video>
<div class="profile-content">
<p class="tb-r">Name</p><p id="name"></p>
<p class="tb-r">Faction</p><p id="faction"></p>

Loading…
Cancel
Save