"card ticket"
Bootstrap 3.0.0 Snippet by evarevirus

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!-- CSS Ticket inspired by -->
<!-- https://dribbble.com/shots/2677752-Dribbble-invite-competition -->
<div class="ticket">
<div class="stub">
<div class="top">
<span class="admit">Admit</span>
<span class="line"></span>
<span class="num">
Invitation
<span>31415926</span>
</span>
</div>
<div class="number">1</div>
<div class="invite">
Invite for you
</div>
</div>
<div class="check">
<div class="big">
You're <br> Invited
</div>
<div class="number">#1</div>
<div class="info">
<section>
<div class="title">Date</div>
<div>4/27/2016</div>
</section>
<section>
<div class="title">Issued By</div>
<div>Ampersand</div>
</section>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
body {
background: #dd3f3e;
font-family: 'Montserrat', sans-serif;
margin: 0;
padding: 0;
}
.ticket {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 700px;
margin: 20px auto;
}
.ticket .stub,
.ticket .check {
box-sizing: border-box;
}
.stub {
background: #ef5658;
height: 250px;
width: 250px;
color: white;
padding: 20px;
position: relative;
}
.stub:before {
content: '';
position: absolute;
top: 0;
right: 0;
border-top: 20px solid #dd3f3e;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: