css overlay div on screen code example
Example 1: overlay html template
<div class="imagebg" data-overlay="5">
<div class="background-image-holder">
<img alt="background" src="img/file.jpg" />
</div>
<div class="container">
Content
</div>
</div>
Example 2: html overlay django
{% for instance in object_list %}
<div align="center">
<a href="#overlay{{ instance.pk }}">{{ instance.international_title }}</a>
</div>
<div id="overlay{{ instance.pk }}">
<p>{{ instance.international_short_description }}<p>
</div>
{% endfor %}