1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-11-19 20:20:06 +00:00
twemoji/2/test/base.html
Andrea Giammarchi 72b5e44e09 moved base test
2017-08-08 09:34:51 +01:00

47 lines
1.1 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>basic test</title>
<style>
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
.emojis {
margin-bottom: 20px;
font-size: 32px;
}
</style>
<script src="../twemoji.js" defer></script>
<script>
this.onload = function () {
twemoji.parse(document.body, {
folder: 'svg',
ext: '.svg'
});
};
</script>
</head>
<body>
<div class="wrapper u-fullMinHeight u-verticalCenter">
<main class="u-size620">
<h1 class="u-textCenter">Rendering Twemoji</h1>
<div class="emojis u-textCenter">
🏆️📝️📨️
</div>
<div class="emojis u-textCenter">
💼💡❎
</div>
</main>
</div>
</body>
</html>