Skip to content

Commit aa89e36

Browse files
committed
Update example html with images
1 parent 12aa074 commit aa89e36

1 file changed

Lines changed: 30 additions & 1 deletion

File tree

test/businesscard.html

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,46 @@
2222
}
2323

2424
.group {
25-
margin-top: 6mm;
25+
margin-top: 3mm;
2626
}
2727

2828
.line {
2929
color: white;
3030
position: relative;
3131
}
32+
33+
.ghost {
34+
position: relative;
35+
text-align: center;
36+
-webkit-transform: scale(0.6);
37+
}
38+
39+
.ghost .body {
40+
z-index: 1;
41+
position: relative;
42+
height: 176px;
43+
width: 125px;
44+
}
45+
46+
.ghost .eyes {
47+
z-index: 10;
48+
position: absolute;
49+
left: 50%;
50+
margin-left: -22px;
51+
top: 25%;
52+
width: 44px;
53+
height: 25px;
54+
background: url('http://static.suitart.com/templates/eyes.gif');
55+
}
56+
3257
</style>
3358
</head>
3459
<body>
3560
<div class="bottom">
61+
<div class="ghost">
62+
<div class="eyes"></div>
63+
<img class="body" src="http://static.suitart.com/templates/ghost.png">
64+
</div>
3665
<div class="line">Marc Bachmann</div>
3766
<div class="line">cto</div>
3867

0 commit comments

Comments
 (0)