html Pine Google字体示例
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html Pine Google字体示例相关的知识,希望对你有一定的参考价值。
@import url('https://fonts.googleapis.com/css?family=Bangers');
@media only screen {
.display-font {font-family: 'Bangers', Georgia, serif!important;}
}
<table align="center" cellpadding="0" cellspacing="0" role="presentation" width="100%">
<tr>
<td style="padding: 0 20px;">
<table cellpadding="0" cellspacing="0" role="presentation" width="100%">
<tr>
<td class="col" align="center" width="640" style="padding: 0 10px;">
<h1 class="display-font" style="color: #3FB58B; margin-bottom: 10px; line-height: 100%;">My two natures had memory in common</h1>
<span style="color: #666666; font-size: 14px;">- the heading above is using a display font from Google Fonts -</span>
</td>
</tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" role="presentation" width="100%">
<tr>
<td class="divider" height="60" style="padding: 0 10px;">
<div style="border-top: 1px solid #EEEEEE; line-height: 0;"> </div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" role="presentation" width="100%">
<tr>
<td class="col" width="310" style="padding: 0 10px;">
<h2 style="font-weight: 500;">Native font</h2>
<p style="color: #555555;">The heading above uses your computer's pre-installed fonts. Just like this text.</p>
</td>
<td class="col" width="310" style="padding: 0 10px;">
<h2 style="font-weight: 300;">Various weights</h2>
<p style="color: #555555; font-family: monospace; font-weight: 300;">Override the default font stack with inline CSS. Used here: font-family: monospace;</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
以上是关于html Pine Google字体示例的主要内容,如果未能解决你的问题,请参考以下文章
html Pine基本导航标题示例
html Pine .col类示例
css Pine Native字体堆栈
Google字体API使用简单示例
css 使用Google字体中的Proxima Nova示例CSS。
css 使用Google字体中的Proxima Nova示例CSS。