Forums

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

Home Forums CSS how to write not selectors to child element

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

    div class one
    span class child
    sample text
    span
    div

    div class one
    span class test2
    sample text
    span
    div

    div class one
    span class test3
    sample text
    span
    div

    in above code how to write for the span (class child ) using not css

    i tired but not working :)

    for normal example i have written css like below
    .one span.child{styles comes here}

    i want to write using not selector

    thanks

    #247014
    Paulie_D
    Member

    It’s not clear what you are asking…there are no elements with any class in the HTML provided.

    A minimal demo on Codepen.io would be more use here.

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