div,
p {
color: #FFF;
font-family: 'Open Sans';
font-weight: 400;
font-size: 16px;
background: #4386FC;
padding: 1em;
margin: 1em;
}
p {
background: #AB0909
}
th:first-child,
td:first-child {
text-shadow: 0 0;
}
caption {
font-size: 1.5em;
}
table {
background: linear-gradient(to left, rgba(0, 0, 0, 0.2)50%, rgba(0, 0, 0, 0.1)50%), linear-gradient(to bottom, transparent 2em, #AB0909 2em, #AB0909 57%, #4386FC 57%);
}
table:hover {
background: linear-gradient(to right, rgba(0, 0, 0, 0.2)50%, rgba(0, 0, 0, 0.1)50%), linear-gradient(to bottom, transparent 2em, #AB0909 2em, #AB0909 57%, #4386FC 57%);
}
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<table>
<caption>be text-shadowed or not</caption>
<thead>
<tr>
<th>text-shadow:0 0</th>
<th>no text-shadow</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div>test font</div>
<p>test font</p>
</td>
<td>
<div>test font</div>
<p>test font</p>
</td>
</tr>
</tbody>
</table>
我们无法回答我们看不到的东西。需要链接到您看到Google事物的地方。 – Rob
你使用完全相同的字体资源吗? (不是“CSS font-family”,而是资源 - 基于@ font-face规则下载的实际文件) –