Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Filling an element with background color pixel by pixel (animation)

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #35438
    lyrae
    Member

    I would like to know if it’s possible to, when hovering over an element, animatedly fill the background with a color(say, fill a box from left to right with red, pixel by pixel).

    I could use an image and in a javascript loop move the image to the right pixel by pixel…but I would like to know if it’s possible without images.

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.