Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <body>  
  <div class='post-body'>
    <h2 class='post-title'>Click On The Below Button To See Magic</h2>
<div id="flippy"><button>Show Hidden Text / Images </button></div>
<div id="flippanel">
<p class="texty">Add Text/Images Hide/Show Button in Blogger:) </p>
<div style="text-align: justify;">
<span style="font-family: Georgia, Times New Roman, serif;">How to add a image/text hide/show(Spoiler) button in blogger - You already know guys, a genuine content is&nbsp;eternally&nbsp;good for every blogger because if you write a genuine content for your blog, then&nbsp;it's helped you to drive more traffic to your blog.&nbsp;However, You can also impress your visitors by adding some special effects to your blog posts and today we're going to share one of them. So today I'm going to show you how you can easily hide your blog text or image with the help of some CSS and Java-scripts. Follow the below simple steps and add this button into your blog without any problem.&nbsp;</span></div>
<p class="texty">Images:) </p>
<center><p><img src='https://s3.amazonaws.com/thumbnail.canva.com/DABVchTVK4o/115/thumbnail/0001-34320426.png'></p></center>
<p class="texty">Video :</p>
<p class="vidv"><iframe width="560" height="315" src="//www.youtube.com/embed/KMKlt27bPmA" frameborder="0" allowfullscreen></iframe></p>
<p class="texty">You Can Add Anything :) </p></div> 
</div>   
</body>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

body {
    background-color: #f9f9f9;
    font-family:'Open Sans',sans-serif;
    line-height:normal;
    font-size: 16px;
    color: #444;
    padding:0;
    margin:0;
}

.post-body h2 {
    color: #e25633;
    text-align: center;
}

.post-body {
    max-width: 680px;
    margin: 20px auto;
    border: 10px solid #f0f0f0;
    padding: 15px 20px;
    background-color: #fff;
    color: #444;
}

.post-body img {
    max-width: 100%;
    height: auto;
}

.post-body iframe, iframe {
    max-width: 100%;
    margin: 0 auto;
}

p.vidv {
    text-align: center;
}

p.texty {
    font-weight: bold;
    font-size: 18px;
    color: crimson;
    text-align: center;
    margin: 10px auto;
}

#flippy {
    text-align: center;
}

#flippy button {
    background: #34C5C0;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    border: none;
    border-radius: 3px;
    padding: 8px 16px;
    margin: 10px auto;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 3px 0px 0px #3E3E3E;
    vertical-align: middle;
    cursor: pointer;
    text-shadow: 0 1px rgba(0, 0, 0, 0.3);
    transition: background 0.1s ease-in-out;
}

#flippy button:hover {
    background: #9e4fbf;
    outline: none;
}

#flippy button:focus {
    background: #9e4fbf;
    outline: none;
}

#flippanel {
    padding: 1px;
    text-align: left;
    background: #f5f5f5;
    border: 0px;
}

#flippanel {
    padding: 24px;
    display: none;
}
              
            
!

JS

              
                $(document).ready(function() {
    $("#flippy").click(function() {
        $("#flippanel").slideToggle("normal");
    });
});
              
            
!
999px

Console