Created
September 21, 2019 06:09
-
-
Save trinvh/e7f38b975841dcf9c9f27de61c7e6171 to your computer and use it in GitHub Desktop.
print.css
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
.voucher { | |
width: 700px; | |
overflow: hidden; | |
position: relative; | |
} | |
.voucher img { | |
width: 700px; | |
} | |
.voucher-discount { | |
position: absolute; | |
top: 55px; | |
right: 30px; | |
width: 260px; | |
text-align: center; | |
color: #000; | |
font-size: 60px; | |
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; | |
font-weight: 800; | |
} | |
.voucher-code { | |
position: absolute; | |
top: 140px; | |
right: 40px; | |
width: 220px; | |
text-align: center; | |
color: #000; | |
font-size: 24px; | |
font-weight: 800; | |
border: #000 1px dotted; | |
border-radius: 10px; | |
} | |
.voucher-barcode { | |
position: absolute; | |
bottom: 20px; | |
right: 20px; | |
width: 270px; | |
text-align: center; | |
} | |
.voucher-barcode > div { | |
margin: 0 auto; | |
} | |
.voucher-note { | |
position: absolute; | |
bottom: 20px; | |
left: 20px; | |
width: 300px; | |
text-align: center; | |
color: #555; | |
font-size: 10px; | |
font-weight: 500; | |
white-space: pre; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment