JSFiddle - React, Tailwind, and code Playground
HTML
<form action="#" method="GET">Å irina 100%
<input type="radio" name="width" id="yes" value="yes">
<label for="yes">ja</label>
<input type="radio" name="width" id="no" value="no" checked>
<label for="no">ne</label>
<p>"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p>
<table>
<thead>
<tr>
<th>Prvi stolpec</th>
<th>Drugi stolpec</th>
<th>Tretji stolpec</th>
</tr>
</thead>
<tbody>
<tr>
<td>11</td>
<td>12</td>
<td>13</td>
</tr>
<tr>
<td>21</td>
<td>22</td>
<td>23</td>
</tr>
<tr>
<td>31</td>
<td>32</td>
<td>33</td>
</tr>
<tr>
<td>41</td>
<td>42</td>
<td>43</td>
</tr>
</tbody>
</table>
</form>
CSS
body {
margin: 0;
padding: 0;
}
table, p {
border: 1px dotted blue;
}
input[name="width"][value="yes"]:checked~table {
width: 100%;
text-align: center;
}