Search Results

Search found 2 results on 1 pages for 'teiviere'.

Page 1/1 | 1 

  • Progressively transparent image with CSS3?

    - by Teiviere
    I want images that gradually "gradient" to blend in with the background color (white/transparent) as it gets to the bottom. Is there a way I can apply a CSS3 gradient or some sort of gradual transparency using CSS3 to the bottom edges of the image so it looks like its fading into the background color? I know I can make images with some photoeditor to achieve that effect, but I am curious to know if CSS3 can accomplish it.

    Read the article

  • How animate stacking divs in javascript/css?

    - by Teiviere
    Say I have 2 divs with the same CSS class that are stacked on top of each other: div { width:100px; height: 100px; background: red; } How do I make it so that when I click a button at the top of the page, a new div is created from off the screen at the bottom and moves upwards stopping where the 2nd div is.. When the button is clicked again, a 4th div moves in from the bottom of the screen and stops where the 3rd div is... etc creating a "stacked" divs effect? I know about position:fixed and adjusting values for top, but I am not sure how to dynamically calculate where to stop the animation to achieve this effect.

    Read the article

1