Created
March 23, 2023 15:05
-
-
Save bseib/a34a77ff62feeaa450873911c0b9a61a to your computer and use it in GitHub Desktop.
Demonstrates use of a barcode webfont in a single HTML file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Barcode Webfont Example</title> | |
<link href="https://fonts.googleapis.com/css2?family=Libre+Barcode+39+Extended+Text&display=swap" rel="stylesheet"> | |
<style type="text/css"> | |
.barcode39 { | |
font-family: 'Libre Barcode 39 Extended Text', cursive; | |
font-size: 40px; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Example of barcode webfont</h1> | |
<div class="barcode39"> | |
*hello world* | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment