How To Add Open/Hide Option in Blogger

 Hello friends i have a new HTML/CSS code for your blogger to add OPEN/hide button on blogger.This code is not so important for your blogger but you can add it to your blogger.

you can add this code at your blogger


1.  Click on New posts.

2. Then click on Html.

3.  Then type the given code into the Html section,


<div id=”spoiler” style=”display: none;”>
<button onclick=”if(document.getElementById(‘spoiler’) .style.display==’none’) {document.getElementById(‘spoiler’) .style.display=”}else{document.getElementById(‘spoiler’) .style.display=’none’}” title=”Click to show/hide” type=”button”>Open/hide</button>
<br />

4.  Now click on Save.

 Note – You can add either your text or your picture.If you want to add a pic then just replace the Add your Hidden content  with your URL of pic.done.


Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *