Zoom a box-shadow na :hover receptu
This commit is contained in:
1 parent
ff68573271
commit
4544836871
2 files changed
+19
-2
No files matched your search
@@ -18,7 +18,7 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% set image = resize_image(path=image, width=300, height=300, op="fill") %}
|
||||
<img src="{{ image.url }}" alt="{{ recipe.title }}">
|
||||
<div class="image" style="background-image: url('{{ image.url }}')"></div>
|
||||
<div class="title">{{ recipe.title }}</div>
|
||||
{% if recipe.date %}<span class="date">{{ recipe.date | date(format="%d.%m.%Y") }}</span>{% endif %}
|
||||
</a>
|
||||
|
||||
Reference in new issue
Block a user