Skip to content

Commit 4e165c2

Browse files
author
Zeno Rocha
committed
Remove blank spaces from faces image
1 parent c68d63c commit 4e165c2

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

examples/assets/faces.jpg

-10.4 KB
Loading

examples/face_hello_world.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717
position: absolute;
1818
top: -1000px;
1919
}
20+
21+
#img {
22+
position: absolute;
23+
top: 50%;
24+
left: 50%;
25+
margin: -173px 0 0 -300px;
26+
}
2027
</style>
2128
</head>
2229
<body>

examples/face_tag_friends.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@
5757
width: 180px;
5858
transition: opacity .35s ease-out;
5959
}
60+
61+
#img {
62+
position: absolute;
63+
top: 50%;
64+
left: 50%;
65+
margin: -173px 0 0 -300px;
66+
}
6067
</style>
6168
</head>
6269
<body>

0 commit comments

Comments
 (0)