Forums

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

Home Forums CSS Merging browser-specific css

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38305
    nielsoeltjen
    Member

    I’m doing this:

    input::-webkit-input-placeholder {
    color: #E5DFDF;
    font-weight: normal;
    }
    input:-moz-placeholder {
    color: #E5DFDF;
    font-weight: normal;
    }

    Can I do this:

    input::-webkit-input-placeholder,
    input:-moz-placeholder {
    color: #E5DFDF;
    font-weight: normal;
    }

    ???

    #103753

    Unfortunately not. As each browser will only recognize one half of that selector stack, it will ignore it completely.

    #103880
    nielsoeltjen
    Member

    Thanks mate! :-)

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