From our sponsor: Ready to show your plugin skills? Enter the Penpot Plugins Contest (Nov 15-Dec 15) to win cash prizes!
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.
Please note that the demos are optimized for desktop view.
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.
Tiny break: 📬 Want to stay up to date with frontend and trends in web design? Subscribe and get our Collective newsletter twice a tweek.
References and Credits
- scrollMonitor by Stu Kabakoff
- Images from Unsplash.com
- Icons by Gregor Cresnar and Flaticon
- anime.js by Julian Garnier
- ChromeSupported
- FirefoxSupported
- Internet ExplorerSupported from version E
- SafariSupported
- OperaSupported
Mary, where you got these ideas. Anyways it’s awesome.
Awesome, not holiday hah…hihihi 😀
Nice, only noticed it doesn’t show the blocks on native mobile android stock browser (not using chrome because it sucks battery).
Great effect but wish you would explain how it was done.
Is it possible to implement this into a WordPress developed website? How?
Learn how to develop with WordPress?
Why couldn’t you do this without JS? Surely CSS animations/transitions would suffice?
i guess i’m a bit late. but thats exactly what i thought aswell. you can do so much with pure css..
i actually tried my best to recreate this and i think it’s pretty nice. have a look if you want: https://codepad.co/snippet/Y6LYRu3P
~ loco. (:
Well, I think that her code is more reusable.
For example it can adapt to any components by copying and pasting any html content and applies the effect. same thing for the effect options. each animation can be customized easily.
IMHO It would be a bit messy in full css.
@locotay nice demo ! 😀
Awesome Effects..hats off to you…
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.
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
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.
Nice nice nice 🙂 How would you do this if you have set a background image in CSS. Or a background color..?
nice job
I created a similar effect using a different approach in this fiddle: https://jsfiddle.net/Chris_Homan/vux82wqa/
That is dope!
That looks awesome!
great inspiration! thank you
Fantastic, thank you! Will be using this. The menu has an issue in Edge and IE though.
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.
This is awesoem
Exelente muchas gracias…!! =D
Wonderful work!
I was just wondering if it might be possible to use the effects on the overview + modal + menu + split layout on the same page?
I tried putting the java scripts one after the other on the same page. That doesn’t work.
Any help would be greatly appreciated.
Best regards!
Nedim
nice
please tell me how to hide the menu if menu links go to same page i.e to the id.
Hi, it’s a great effect. Well done.
I try to make a loop to display this animation on all titles and images in my page. Anybody here can help me, please ?
Iv’e tried the script. It works perfectly in Chrome and Firefox. But buggy in IE 11 and Edge
Great script, thank you! But why does the menu in the demo work in IE/Edge, but the downloadable source not? Can’t recognize any changes at the script…
Nice work.
Hi Mary Lou,
Love this!
Although I’m having trouble making the block revealer form actually submit. Any chance you could provide an example code for this?
which version of internet explorer it supports?