Skip to content

Instantly share code, notes, and snippets.

@VincentLoy VincentLoy/index.html
Last active Mar 15, 2018

What would you like to do?
scanit example html
<!DOCTYPE html>
<head lang="en">
<meta charset="UTF-8">
<!-- JUST ADD SOME STYLES FOR YOU QR CODE ELEMENT (Basically, a square) -->
.qrContainer {
width: 450px;
height: 450px;
padding: 0;
margin: 0;
<!-- All you need to do is to add "data-scanit" attribute to an element and that'll generate a QRCode base on the value inside -->
<div class="qrContainer" data-scanit=""></div>
<!-- Add The Script (or min file script) -->
<script src="dist/scanit.min.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.