mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
4dd4a69c7a
* support font-family names with numbers in (e.g. Font Awesome 5) * check for spaces in font family names first so generic font names don't get wrapped in quotes * Update reftest to use fontawesome 5.13.0 * Add fontawesome v4 shims * Revert "Merge remote-tracking branch 'grahamkane/master' into issue-1948-test-coverage" This reverts commit5211ab4065
, reversing changes made toae0bd29d37
. * Revert "Revert "Merge remote-tracking branch 'grahamkane/master' into issue-1948-test-coverage"" This reverts commit4911fe25f4
. * Revert "Merge remote-tracking branch 'grahamkane/master' into issue-1948-test-coverage" This reverts commit5211ab4065
, reversing changes made toae0bd29d37
. Co-authored-by: Graham Kane <grahamkane@gmail.com>
52 lines
1.6 KiB
HTML
52 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head lang="en">
|
|
<meta charset="UTF-8">
|
|
<title>fontawesome icons</title>
|
|
<link href="https://use.fontawesome.com/releases/v5.13.0/css/all.css" rel="stylesheet">
|
|
<link href="https://use.fontawesome.com/releases/v5.13.0/css/v4-shims.css" rel="stylesheet">
|
|
<script type="text/javascript" src="../../test.js"></script>
|
|
<style>
|
|
body {
|
|
font-family: Arial;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
Fontawesome icons
|
|
<i class="fa fa-camera-retro fa-5x"></i> fa-5x
|
|
|
|
<ul class="fa-ul">
|
|
<li><i class="fa-li fa fa-check-square"></i>List icons</li>
|
|
<li><i class="fa-li fa fa-check-square"></i>can be used</li>
|
|
<li><i class="fa-li fa fa-spinner"></i>as bullets</li>
|
|
<li><i class="fa-li fa fa-square"></i>in lists</li>
|
|
</ul>
|
|
|
|
<div>
|
|
<span class="fa-stack fa-lg">
|
|
<i class="fa fa-square-o fa-stack-2x"></i>
|
|
<i class="fa fa-twitter fa-stack-1x"></i>
|
|
</span>
|
|
fa-twitter on fa-square-o<br>
|
|
<span class="fa-stack fa-lg">
|
|
<i class="fa fa-circle fa-stack-2x"></i>
|
|
<i class="fa fa-flag fa-stack-1x fa-inverse"></i>
|
|
</span>
|
|
fa-flag on fa-circle<br>
|
|
<span class="fa-stack fa-lg">
|
|
<i class="fa fa-square fa-stack-2x"></i>
|
|
<i class="fa fa-terminal fa-stack-1x fa-inverse"></i>
|
|
</span>
|
|
fa-terminal on fa-square<br>
|
|
<span class="fa-stack fa-lg">
|
|
<i class="fa fa-camera fa-stack-1x"></i>
|
|
<i class="fa fa-ban fa-stack-2x text-danger"></i>
|
|
</span>
|
|
fa-ban on fa-camera
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|