[ENG] Postachio hacks. How to add spoiler

Today I continue to talk you about Postach.io hacks. This time I will talk about how to use .html file and Dropbox to create a post with spoiler. We'll create a post with information that will be shown only by clicking on a specific text. This is done just a few simple lines of code. Let's begin.

Demo

You can try demo here.

Spoiler code

Spoiler code is really simple. Here it is:

Inside div Title you should specify visible text and inside div Body - hidden text.

All you need is to put this code inside your .html file and specify hidden text. It's really easy.

And then you need some .css code:

You can read here about Dropbox and .html files integration with Postach.io.

Комментарии