Skip to content

Commit 7b2ede0

Browse files
committed
Hide cards until animation starts
1 parent a71c713 commit 7b2ede0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

flask_app/static/css/animations.css

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
@keyframes RecentLoadIn {
4040
0% {
41+
display: flex;
4142
transform: rotate(-15deg) scale(0.5);
4243
}
4344

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">
29+
<div class="card recent-load-in" style="--delay: {{ loop.index0 * 0.2 + 0.2}}s; display: none;">
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)