mirror of
https://github.com/kristoferssolo/kristofersxyz.git
synced 2025-10-21 18:30:34 +00:00
Added different gif versions
This commit is contained in:
parent
e1a2ea2a8d
commit
f7a7e1b3b7
@ -20,6 +20,7 @@
|
||||
top: 30%;
|
||||
}
|
||||
|
||||
img,
|
||||
video {
|
||||
width: clamp(20rem, 50%, 70rem);
|
||||
}
|
||||
|
||||
BIN
static/main/img/hello-there/hello-there.gif
Normal file
BIN
static/main/img/hello-there/hello-there.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 67 MiB |
@ -14,11 +14,13 @@
|
||||
{% block content %}
|
||||
<div id="landing">
|
||||
<div class="landing-title">
|
||||
<video autoplay
|
||||
loop
|
||||
src="{% static 'main/img/hello-there.mp4' %}"
|
||||
type="video/mp4"
|
||||
alt="Hello there.">
|
||||
<video autoplay loop muted playsinline alt="Hello there.">
|
||||
<source src="{% static 'main/img/hello-there/hello-there.mp4' %}"
|
||||
type="video/mp4">
|
||||
<source src="{% static 'main/img/hello-there/hello-there.mp4' %}"
|
||||
type="video/mp4"
|
||||
onerror="fallback(parentNode)">
|
||||
<img src="{% static 'main/img/hello-there/hello-there.gif' %}">
|
||||
</video>
|
||||
<h1 class="text">
|
||||
I'm <span id="swap-text">Kristofers Solo</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user