Block Reveal Effects

Ideas for revealing content in a schematic box look as seen around the Web lately. The effect first shows a decorative block element drawn and when it starts to decrease its size, it uncovers some content underneath.

revealereffect_800x600

View demo Download source

Today we’d like to share a couple of ideas for a kind of block reveal effect that has been used in some designs recently. The main idea is to reveal content in a schematic box look. The effect first shows a decorative block element being drawn and when it starts to decrease its size, it uncovers some content underneath.

The effect is inspired by some animations used in a couple of really nice websites (and a Dribbble shot):

There are of course many more examples out there; these are just a few that we’ve discovered lately and got inspired by.

blockrevealers_01

Attention: We are using flexbox and viewport units, which might not be supported in older browsers, especially IE. For the effect itself we use 3D Transforms, so only modern browsers here.

Please note that the demos are optimized for desktop view.

revealer

Have a look at all the demos and browse the HTML files to see how the effect is implemented. All demos show some different possibilities. The last demo shows how a piece can be left uncovered to show then some content on top.

References and Credits

Browser Support:
  • ChromeSupported
  • FirefoxSupported
  • Internet ExplorerSupported from version E
  • SafariSupported
  • OperaSupported

View demo Download source

Previous:
Next:

Tagged with:

ML is a freelance web designer and developer with a passion for interaction design. She studied Cognitive Science and Computational Logic and has a weakness for the smell of freshly ground peppercorns.

View all contributions by

Website: http://www.codrops.com

Related Articles

CSS Reference

Learn about all important CSS properties from the basics with our extensive and easy-to-read CSS Reference.

It doesn't matter if you are a beginner or intermediate, start leanirng CSS now.

Feedback 21

  1. 3

    Nice, only noticed it doesn’t show the blocks on native mobile android stock browser (not using chrome because it sucks battery).

  2. 10

    Love your stuff. I’m getting a lot of traffic to the scrollmonitor from this post.

    Check out scrollmonitor-parallax, it would let you make the box effects come in and out at the speed of scrolling. The docs aren’t great yet, but there should be enough info there to get it working.

  3. 11

    I usually never comment on these, but this is so good! I’ve been waiting for that one, thank you so much!
    Keep up the good work Mary Lou, I’m a designer but over the years you gave me the motivation and assets to learn code.
    <3

  4. 12

    Manoela: Thanks for the nice X-mas gift and all your beautiful contributions through out the year(s). Hope you get more and more inspirations in the years to come.

    I made this thing work. I could only make the on-load, modal and split screen make it work. Even for those the content loads first and is visible then those two blobs load and then they run away.

  5. 13

    Nice nice nice :) How would you do this if you have set a background image in CSS. Or a background color..?

  6. 21

    AWESOME WORK. Has anyone successfully made the menu sticky?
    I’ve tried position: fixed; on almost everything, and either the icon becomes unclickable or it simply doesn’t work.

Follow this discussion

Leave a Comment