Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (13 sloc) 0.373 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php
/**
* :hover/:focus and :hover/:focus/:active composite pseudo classes
*
* @see docs/plugins/hocus-pocus.md
*/
namespace CssCrush;

Plugin::register('hocus-pocus', array(
    'enable' => function ($process) {
        $process->addSelectorAlias('hocus', ':any(:hover,:focus)');
        $process->addSelectorAlias('pocus', ':any(:hover,:focus,:active)');
    }
));
Something went wrong with that request. Please try again.