Skip to content

Commit e466876

Browse files
committed
Move style to CSS
1 parent db74bb5 commit e466876

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

flask_app/static/css/animations.css

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
}
6060

6161
.recent-load-in {
62+
height: 0;
63+
opacity: 0;
6264
animation:
6365
InitClear var(--delay, 0s) step-end 0s,
6466
RecentLoadIn var(--duration, 0.5s) ease-out calc(var(--delay, 0s)),

flask_app/templates/recent.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div class="row m-2">
2727
{% endif %}
2828
<div class="col-md-6">
29-
<div class="card recent-load-in" style="--delay: {{ loop.index0 * 0.2 + 0.2}}s; height: 0; opacity: 0;">
29+
<div class="card recent-load-in" style="--delay: {{ loop.index0 * 0.2 + 0.2}}s;">
3030
<a href="{{ repo.url }}"><img src="/static/img/gh_cards/{{ current_datetime }}/card{{ loop.index0 }}.png" class="card-img-top"/></a>
3131
<div class="card-body" style="background-color: white;">
3232
{% if repo.languages.nodes|length == 0 %}

0 commit comments

Comments
 (0)