Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 373 Bytes
<?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.