Forums

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

Home Forums CSS Why it is not working

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #174751
    nih_honda
    Participant

    Hello All,
    I am practicing CSS and do not know why my class “new” is not working. Any feedback will be great.

    Here is my code

    MOD EDIT – Codedump Removed

    #174752
    Paulie_D
    Member

    Please don’t just drop a bunch of code on us.

    Make a Codepen.io example and post the saved link here.

    However, from what I could see of your code (before i removed it) you had no element with that class in your HTML.

    #174753
    nih_honda
    Participant

    Hello Paulie,

    I do have that element in my HTML and was not showing when I pasted it.

    Here is the link:

    http://codepen.io/anon/pen/kpFlc

    #174754
    Paulie_D
    Member

    Doesn’t looks like the codepen url worked…

    #174756
    Ricky55
    Participant

    If you do have an element with the class the style you are creating is probably being overridden by another style that’s more specific.

    Try adding !important; to see if you can see your style. If you do remove the important and workout what’s causing the specificity issue.

    HTH

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