-
-
Save parzibyte/f17d749549562c4ac858dc4b7002dc83 to your computer and use it in GitHub Desktop.
This file contains 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="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!--Puedes descargar el script e incluirlo de manera local si así prefieres--> | |
<script src="https://unpkg.com/qrious@4.0.2/dist/qrious.js"></script> | |
<title>Generar códigos QR - By Parzibyte</title> | |
</head> | |
<body> | |
<img alt="Código QR" id="codigo"> | |
<script> | |
new QRious({ | |
element: document.querySelector("#codigo"), | |
value: "https://parzibyte.me/blog", // La URL o el texto | |
size: 200, | |
backgroundAlpha: 0, // 0 para fondo transparente | |
foreground: "#8bc34a", // Color del QR | |
level: "H", // Puede ser L,M,Q y H (L es el de menor nivel, H el mayor) | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment