I would like to know how I can change the background of div # whatever by clicking on a li, as in the example below (using css only)
<div class="whatever"></div>
<section class="content">
<article class="personagens">
<h2>Lista de Pokémons</h2>
<h2>Lista de Digimons</h2>
<ul>
<li>Bulbasaur</li>
<li>Ivysaur</li>
</ul>