Forums

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

Home Forums CSS There is no backgroundcolor in CSS

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #154811
    rakoczimrks
    Participant

    Hello,

    i have created a thumbnail like element in HTML ans CSS3 – (http://codepen.io/szpali76/pen/zoDLE ) and on hover there should be an animated text with a background color.
    Even if i set the background color to orange, i have a transparent background. What should I do to have an element with background color.

    thanks.

    #154820
    wolfcry911
    Participant

    The background is drawn behind the content – including the image. Here’s a simple way of accomplishing the same effect:

    http://codepen.io/wolfcry911/pen/Akuol

    #154821
    Alen
    Participant

    Possible alternative using background images and no z-index.

    http://codepen.io/alenabdula/pen/yBGjb

    Transition is activated while hovering over complete module.

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