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%;
|
top: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img,
|
||||||
video {
|
video {
|
||||||
width: clamp(20rem, 50%, 70rem);
|
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 %}
|
{% block content %}
|
||||||
<div id="landing">
|
<div id="landing">
|
||||||
<div class="landing-title">
|
<div class="landing-title">
|
||||||
<video autoplay
|
<video autoplay loop muted playsinline alt="Hello there.">
|
||||||
loop
|
<source src="{% static 'main/img/hello-there/hello-there.mp4' %}"
|
||||||
src="{% static 'main/img/hello-there.mp4' %}"
|
type="video/mp4">
|
||||||
type="video/mp4"
|
<source src="{% static 'main/img/hello-there/hello-there.mp4' %}"
|
||||||
alt="Hello there.">
|
type="video/mp4"
|
||||||
|
onerror="fallback(parentNode)">
|
||||||
|
<img src="{% static 'main/img/hello-there/hello-there.gif' %}">
|
||||||
</video>
|
</video>
|
||||||
<h1 class="text">
|
<h1 class="text">
|
||||||
I'm <span id="swap-text">Kristofers Solo</span>
|
I'm <span id="swap-text">Kristofers Solo</span>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user