I was trying to use this only through CSS, but I would update with a private function which solve this through JS. Thanks!