Inspiration for Article Intro Effects

Some inspiration for effects applied to title headers of articles with a fullscreen image. The idea is to show some creative transition when continuing to the article body.

From our sponsor: Ship fast and never break a thing with Shortcut (formerly


Today we want to share some inspiration for article intro effects with you. You have surely seen some interesting article headers, usually containing a fullscreen image, that have some sort of intro effect, i.e. where some creative transition happens when scrolling or when clicking on a button to continue. We wanted to explore the effect possibilities with fullscreen images and making something happen when continuing to the article body. There are many potentially cool effects and today we want to share just a couple of ideas with you.

One really nice effect that we tried to imitate, is the one seen on Jam3 when choosing a project. There, a fullscreen video is being animated to a narrow bar while the content slides in.

Most of the effects we tried are highly experimental; animating large images can become a bit sluggish, also because a couple of transitions happening at the same time. The effect gets triggered when scrolling begins or when the button is clicked.

Note that hijacking the scroll is really not a great thing to do, so restricting it to a really short period is essential when deciding to use such an invasive method. We are using it here because of demo purposes only, but please keep in mind that it’s not an elaborate solution at all. We are not throttling the scroll handler, something you should definitely do in case you want to use something like this on scroll. Note that the effects can be applied when clicking a button, also. Or you could use something like parallax scrolling for a gradual effect.

The images in the demos are from amazing Unsplash, a fantastic place to find high-quality public domain photos.

The first effect pushes the image to the top together with the title, and a new title element slides in with the content.


The second demo shows the effect that fades out the image at the bottom and fades in the resting content. We do this by using a pseudo element with a linear gradient.


The third effect slices the main image into two where the first half moves up and the second one slides down, giving space for the title to enlarge.


The forth effect cuts away the image and pushes the title to the side.


The fifth effect is similar to the previous one but here we fix the image to the side and allow the content to flow on the right hand side.


The next demo moves the image up and reveals a grid where the current main image will scale up into the grid. This could be a great idea for showing related posts right in the header.


The last effect is an attempt to imitate the cool effect seen on Jam3: the fullscreen image becomes a top bar and the content slides in.


We really hope you enjoyed these effects and get inspired!

Tagged with:

Mary Lou

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.

Stay up to date with the latest web design and development news and relevant updates from Codrops.

Feedback 131

Comments are closed.
  1. You are happy guys, you are flying in the world without Internet Explorer.

  2. One question: what should i do in order to make some pages with “no effect” (no background image, starting directly from step 2) ??

  3. Hi, great article!
    I had found a bug in the fifth effect on FF (i’m running 30.0).
    The text of the article remain hidden. I added a new class to the div, setting his z-index to 1000 as like the .title and it works.

    Have a nice day

  4. Congrats. For the first time I’ve said ‘oh.. I love the web’ , thats was an amazing feeling, thanks !

  5. Hi,

    Thanks for this amazing article. I would like to put this into my wordpress index.php.
    Do you know how to do that? Because i’ve try but without success.

    Best regards.

    • hmm, not as simple to apply this article to index.php at wordpress, i think , first you must learn how to make wordpress theme or child theme

  6. I showed my director and other bosses this effect and now they want me to use it for a big client. I feel like I made a huge mistake because its jagged in safari and IE8 doesnt work at all. Any suggestions to what my next move would be? I can go ahead and assume there is no fix for IE and ill have to create a different page for IE8 and below to visit.

  7. Hey Manoela,

    just saw the pic of my beloved Lab, called “Woody”, in the second demo. “Unconditional Love & Cookies” is such a perfect headline … I love it! Keep on rockin’ with your CSS-Inspiration. Woody likes it too (while snoring under his yucca-palm in the living room) … ;o)

  8. Caught a weird issue in Firefox caused by the disable/enable scroll effect in the js that disabled the space key in forms. Change

    var keys = [32, 37, 38, 39, 40], wheelIter = 0;
    var keys = [37, 38, 39, 40], wheelIter = 0;

    Hope that helps someone else!

    • You are a genius. Your solution works perfect for me. My problem was with an Olark chat form. Olark knows that the problem is a line of code. But thye don’t know what line is about. Your solution saved my day. Thank you very much

  9. I have an issue with one page scroll nav. it’s not working from the very top of the article image. 🙁 any help pls!

  10. @Mike Hobizal Did you manage to convert this great intro effect into a working WordPress theme? One thing is editing CSS, classes/ID’s but the app.js + data JSON source files requires some work as well to make it work.

    Would love to see/buy WP theme utilising this effect.
    Thank buddy.

  11. Hello Ms. Lou,

    Thank you for your effort and inspiration. Wonderful effects.


    To Anyone:

    Please help. I have been playing around with the “Sliced” Demo (index3.html) and it does not seem to work properly with an image size of 1920×1080 on my 1600×900 laptop display. It does not fit/scale to display the whole image.

    When I tried changing .bg-img img { min-width: 100%} TO {width: 100%} it initial works, but resizing the browser window is problematic. The split does not work properly. I have spent 2 days trying to get it to work with no luck.

    Has anyone else tried a larger image than the 1200×800 example? Any help would be deeply appreciated and may help others that are running into the same issue.

    • Please disregard my call for help.

      How I want it to work (wishful thinking) and how it is designed to work are fundamentally different. It is not a large image issue at all. It is my challenge and not any fault of the design. Sorry for the noise.

      Thank you again Manoela Ilic for your beautiful designs and inspiration.

  12. Arrrg…

    I’ve missed THAT… Wonderful effects!
    Thanks a lot for sharing these inspirations!


  13. Can anyone help with adding the smooth scroll to anchors inside the article? I assume it has something to do with the animation listener? Just cannot figure out a script to continue allowing the animation of smooth scrolling once inside. The effect I’m trying to implement this in is the side-fixed. Thanks!

  14. Hi,

    awesome work. Only one thing that is bugging me is that i can’t use swipe on ipad, you actually have to tap on the tiny icon at the bottom of the screen. Took me few tries to notice it and i am worried that using this on a live site would confuse the visitors too much.

    Adding this feature would make it more user friendly, I think.

    Might have a go at that to be able to implement it or did anyone add these already?

    Bottom line – the effects are really awesome.