Commit 9454be17 authored by Skry's avatar Skry
Browse files

add table css

parent a24b1927
@tailwind base;
@tailwind components;
@tailwind utilities;
tr {
}
td {
@apply bg-red-600;
}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Accessibilité - Accueil</title>
<link rel="stylesheet" href="../css/tailwind.css" />
<link rel="stylesheet" href="../css/tables.css" />
</head>
<body>
<main>
<table class="table-auto border-primary">
<caption>
Trouver un titre pour ce tableau
</caption>
<tbody>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<th colspan="3" scope="colgroup">Vêtements</th>
<th colspan="2" scope="colgroup">Accessoires</th>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<th scope="col">Pantalons</th>
<th scope="col">Jupes</th>
<th scope="col">Robes</th>
<th scope="col">Bracelets</th>
<th scope="col">Bagues</th>
</tr>
<tr>
<th rowspan="3" scope="rowgroup">Belgique</th>
<th scope="row">Anvers</th>
<td>56</td>
<td>22</td>
<td>43</td>
<td>72</td>
<td>23</td>
</tr>
<tr>
<th scope="row">Gand</th>
<td>46</td>
<td>18</td>
<td>50</td>
<td>61</td>
<td>15</td>
</tr>
<tr>
<th scope="row">Bruxelles</th>
<td>51</td>
<td>27</td>
<td>38</td>
<td>69</td>
<td>28</td>
</tr>
<tr>
<th rowspan="2" scope="rowgroup">Pays-bas</th>
<th scope="row">Amsterdam</th>
<td>89</td>
<td>34</td>
<td>69</td>
<td>85</td>
<td>38</td>
</tr>
<tr>
<th scope="row">Utrecht</th>
<td>80</td>
<td>12</td>
<td>43</td>
<td>36</td>
<td>19</td>
</tr>
</tbody>
</table>
</main>
</body>
</html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment