The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Background image slowy animate to show overflown area

  • Anonymous
    # July 12, 2013 at 8:05 pm

    In the my portfolio section if you click a thumbnail image the container div applies the background depending on the thumbnail you clicked. The background image shown is not fully displayed because i gave it background-size:cover and it fits the container width horizontally but not vertically. Is there a way to show the overflown area of the background image with a slow downward animation? but only animate towards the overflown area and if the image is not overflown than no animation happens? or i imagine having the user control the position of the background image with the mouse might be easier. Sort of like a panning effect.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed