Forums

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

Home Forums CSS Active class not picking up background

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45767

    Hello I have two links which have made the li active “basketactive” will not pick up new background color two red sign in and sign up the two active should be the blue but blue in background.

    http://codepen.io/mwbcomputers/pen/FEiht

    Also how do you make links have push down effect.

    #139958

    tried that nothing worked. got it working now using different method.

    #139959
    ScottMarshall
    Participant

    Should be avoided but you could always use the important rule on the background –

    background:#YourColor !important;

    As for the push down effect you will need to create a state for it, if you want it to
    look 3D likes its actually going down i suggest going along something like this –

    http://codepen.io/tandavas/pen/ivFce

    #139965

    I have it working now thanks all will try the 3d button effect see if it suites my web style. trying to use certain reds for color scheme. as found out why takeaway shops use red which is to attract customers trying same effect with my website.

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