【发布时间】:2021-09-12 20:19:32
【问题描述】:
使用 Jijna2,我正在尝试制作一个几乎很简单的响应式 HTML 电子邮件模板
<!DOCTYPE html>
<html>
<body>
<p><strong>Hello</strong>,</p>
<p>Below are the deals running on <a href="https://www.{{ url }}.com">{{ url }}</a> at <strong>{{ date }}</strong>:</p>
<p> </p>
<ul>
{% for image in images %}
<a href="{{ image }}">
<img src="{{ image }}" width=500" height="200">
</a>
{% endfor %}
</ul>
<p><strong>Regards,</strong></p>
<p>Team</p>
</body>
</html>
这就是当前显示的内容:
全屏时:
在这种情况下如何使其响应并保持图像一张一张的显示。在全屏或移动屏幕期间不并排!
【问题讨论】:
-
周边图片列表项为
<li style="width:100%">?
标签: python html django flask jinja2