Implement CSS extension translation as pseudo-classes