Добрый день, по картинкам все верно,но не выдает 100%
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Испытание: итоговая таблица</title>
</head>
<body>
<h1>Итоговая таблица</h1>
<table>
<tr class="cvetsrift">
<th class="cell1">Город</th>
<th class="cvet1">Посещений</th>
<th class="cell3">%</th>
</tr>
<tr>
<td class="cell1">СПб</td>
<td class="cell2">199</td>
<td class="cell3">65.12</td>
</tr>
<tr class="cvet">
<td class="cell1">Москва</td>
<td class="cell2">69</td>
<td class="cell3">21.3</td>
</tr>
<tr>
<td class="cell1">Киев</td>
<td class="cell2">5</td>
<td class="cell3">8</td>
</tr>
<tr class="cvet">
<td class="cell1" colspan="2">Посещений за весь период</td>
<td class="cell3">273</td>
</tr>
</table>
</body>
</html>
CSS
body {
width: 350px;
margin: 0;
padding: 0 10px;
font-size: 14px;
font-family: Arial, sans-serif;
}
table {
border-collapse: collapse;
}
th {
border-top: 2px solid black;
border-bottom: 2px solid black;
background-color: darkcyan;
color: 2px white;
padding: 10px;
;
text-align: center;
}
td {
border-bottom: 1px solid lightgray;
color: black;
padding:10px;
width: 33%;
}
.cvet {
background-color: lightyellow;
}
.cvet1 {
background-color: lightblue;
}
.cvetsrift {
color: white;
background-color
}
.cell1 {
text-align: left;
}
.cell2 {
text-align: center;
}
.cell3 {
text-align: right;
}