Type to preview · Copy to use in any website
All fonts are served as woff2 via jsDelivr CDN from github.com/AppsByHtet/h2font. No install. Just copy the snippet. Works with React, Vue, plain HTML, WordPress, etc.
✓ CORS enabled
✓ font-display: swap
✓ woff2 optimized
✓ cache 7 days
@font-face {
font-family: 'Myanmar Sagar Regular';
src: url('https://cdn.jsdelivr.net/gh/AppsByHtet/h2font@main/Myanmar%20Sagar%20Regular.woff2') format('woff2');
font-display: swap;
}
.my-text {
font-family: 'Myanmar Sagar Regular', sans-serif;
}
How to use in 10 seconds
- Pick a font below — click CSS to copy @font-face
- Paste into your <style> or .css file
- Apply font-family: 'Font Name' to any element
ALSO SUPPORTS HTML LINK WAY
<style>
@import url('https://cdn.jsdelivr.net/gh/AppsByHtet/h2font@main/h2font.css');
/* if you host h2font.css yourself */
</style>
Tip: Each card has Copy Link, Download, and 3 snippet tabs.
63 fonts · https://cdn.jsdelivr.net/gh/AppsByHtet/h2font@main/