W3C home > Mailing lists > Public > www-style@w3.org > January 2015

[css-pseudo] Distinguishing between active and inactive selections (issue 2)

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Sun, 18 Jan 2015 00:15:22 +0100
Message-ID: <CAERejNb3uqDQEq7zDAnzCPn6rBfSDTAXTpPSX8qHQsb+W=enWQ@mail.gmail.com>
To: www-style list <www-style@w3.org>
Would it make sense to distinguish them by using the pseudo-class :inactive?

Example:
#example::selection {
  background-color: navy;
  color: white;
}

#example::selection:inactive {
  background-color: gray;
}

Sebastian
Received on Saturday, 17 January 2015 23:16:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:56 UTC