"Make ID Card Using HTML & CSS"
Bootstrap 4.0.0 Snippet by tieusuquay79

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="id-card-tag"></div> <div class="id-card-tag-strip"></div> <div class="id-card-hook"></div> <div class="id-card-holder"> <div class="id-card"> <div class="header"> <img src="https://lh3.googleusercontent.com/-ebxWAGWvWg0/WTABBfdBv2I/AAAAAAAAAqw/qef78bVeIngorIsmAUD4tWVUd8WDvZyuQCEw/w140-h74-p/Untitled-2.png"> </div> <div class="photo"> <img src="https://media.licdn.com/mpr/mpr/shrinknp_200_200/AAEAAQAAAAAAAAuXAAAAJDE2YjQzOGZkLTU5YzAtNGRkNC04NTUzLTM3Zjg0ZWVlMGQxZA.jpg"> </div> <h2>Kiran Das DA</h2> <div class="qr-code"> <img src="https://www.shopify.com/growth-tools-assets/qr-code/shopify-faae7065b7b351d28495b345ed76096c03de28bac346deb1e85db632862fd0e4.png"> </div> <h3>www.onetikk.info</h3> <hr> <p><strong>"PENGG"</strong>HOUSE,4th Floor, TC 11/729(4), Division Office Road <p> <p>Near PMG Junction, Thiruvananthapuram Kerala, India <strong>695033</strong></p> <p>Ph: 9446062493 | E-ail: info@onetikk.info</p> </div> </div>
body { background-color: #d7d6d3; font-family:'verdana'; } .id-card-holder { width: 225px; padding: 4px; margin: 0 auto; background-color: #1f1f1f; border-radius: 5px; position: relative; } .id-card-holder:after { content: ''; width: 7px; display: block; background-color: #0a0a0a; height: 100px; position: absolute; top: 105px; border-radius: 0 5px 5px 0; } .id-card-holder:before { content: ''; width: 7px; display: block; background-color: #0a0a0a; height: 100px; position: absolute; top: 105px; left: 222px; border-radius: 5px 0 0 5px; } .id-card { background-color: #fff; padding: 10px; border-radius: 10px; text-align: center; box-shadow: 0 0 1.5px 0px #b9b9b9; } .id-card img { margin: 0 auto; } .header img { width: 100px; margin-top: 15px; } .photo img { width: 80px; margin-top: 15px; } h2 { font-size: 15px; margin: 5px 0; } h3 { font-size: 12px; margin: 2.5px 0; font-weight: 300; } .qr-code img { width: 50px; } p { font-size: 5px; margin: 2px; } .id-card-hook { background-color: #000; width: 70px; margin: 0 auto; height: 15px; border-radius: 5px 5px 0 0; } .id-card-hook:after { content: ''; background-color: #d7d6d3; width: 47px; height: 6px; display: block; margin: 0px auto; position: relative; top: 6px; border-radius: 4px; } .id-card-tag-strip { width: 45px; height: 40px; background-color: #0950ef; margin: 0 auto; border-radius: 5px; position: relative; top: 9px; z-index: 1; border: 1px solid #0041ad; } .id-card-tag-strip:after { content: ''; display: block; width: 100%; height: 1px; background-color: #c1c1c1; position: relative; top: 10px; } .id-card-tag { width: 0; height: 0; border-left: 100px solid transparent; border-right: 100px solid transparent; border-top: 100px solid #0958db; margin: -10px auto -30px auto; } .id-card-tag:after { content: ''; display: block; width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-top: 100px solid #d7d6d3; margin: -10px auto -30px auto; position: relative; top: -130px; left: -50px; }

Related: See More


Questions / Comments: