[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10512: Please support pseudo-elements in CSS syntax

From: Lennart Borgman
Subject: bug#10512: Please support pseudo-elements in CSS syntax
Date: Mon, 16 Jan 2012 17:13:17 +0100

On Mon, Jan 16, 2012 at 17:04, Stefan Monnier <address@hidden> wrote:
>> Should not this be supported in CSS files?
> Maybe it should.  I've written a fair part of css-mode.el and might be
> considered as its maintainer, but I know next to nothing about CSS :-(
>> span:nth-of-type(2) {
>>     color: black;
>> }
> Could you explain to me which part of the above example corresponds to
> the use of "pseudo-elements", and maybe also explain (very briefly) what
> are pseudo-elements?

It is ":nth-of-type(2)", i e it starts with a colon. (Maybe it is
called "pseudo-classes", not sure.)

Standard is here:

More readable version here:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]