{{ enablePlugins('prettify') }} {% set title = "Material Box" %} {% extends "layouts/application.html" %} {% block content %} {% include "shared/page-title.html" %}
Material box is a material design implementation of the Lightbox plugin. When a user clicks on an image that can be enlarged. Material box centers the image and enlarges it in a smooth, non-jarring manner. To dismiss the image, the user can either click on the image again, scroll away, or press the ESC key.

Basic

<img class="materialboxed" width="300" src="assets/_con/images/image-1.jpg">

Captions

<img class="materialboxed" width="300" data-caption="Aut si rem a me pecuniam in Midiam elit." src="assets/_con/images/image-2.jpeg">
{% endblock %}