W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2018

Re: [csswg-drafts] [css-apply-rule] New advocate for the spec

From: Heaven via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 Jan 2018 03:48:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-357846577-1516074488-sysbot+gh@w3.org>
@tabatkins Hi, tabs, in your [article](https://www.xanthir.com/b4o00), you say:

> With @apply, the user doesn't have access to selectors anymore, so pseudo-classes don't exist.

But I think we still can use `@apply`, e.g.

.foo:hover {
  @apply --variableName;

You can test in the http://cssnext.io/playground/ , it will works fine

If I am wrong, please let me know, thanks!

GitHub Notification of comment by NE-SmallTown
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1047#issuecomment-357846577 using your GitHub account
Received on Tuesday, 16 January 2018 03:48:13 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:23 UTC