Forums

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

Home Forums Design How to get an animated gif background-image on top of a div?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #269844
    MrPieElsa
    Participant

    Hi everybody,
    I have to get an animated gif background-image. Bút I didn’t find the best way. Thís is my result. Could you give me some advice?

    .currently-loading {
    opacity:0.45;
    -moz-opacity:0.45;
    filter:alpha(opacity=45);
    width: 950px;
    background-attachment: fixed;
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;
    }

    Thanks so much!

    #269846
    Beverleyh
    Participant

    What exactly are you asking?

    How to position an element (holding a background-image), over another element?

    If so, look in to the position and z-index properties in CSS.

    If not, please state your question more clearly and provide a demo of the issue in CodePen.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design’ is closed to new topics and replies.