Fill in text in HTML5

I don’t know what framework (if at all) you’re using, but my go-to solution for creating websites, is MaterializeCSS.
And oh look, they got something that exactly matches what you want (as far as I can understand, let me know if it doesn’t).

Here it is:

<!-- MATERIAL BOXED-->
        <h1>MATERIAL BOXED</h1>

        <img src="http://materializecss.com/images/sample-1.jpg" alt="" class="materialboxed" data-caption="Here is an image caption">

The only change that you must do in your code, is to import the Materialize library and jQuery necessary, all of which are in their official page.

Hope this can help you solve your problem, it might look a bit un-orthodox but it gets the job done, at looks pretty nice doing so 😉

Leave a Comment