We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f25cf3 commit 89699d0Copy full SHA for 89699d0
lib/position.css
@@ -10,4 +10,28 @@
10
&-static {
11
position: static;
12
}
13
+}
14
+
15
+.position {
16
+ &-center {
17
+ position: absolute;
18
+ top: 50%;
19
+ left: 50%;
20
+ transform: translate3d(-50%, -50%, 0);
21
+ font-smoothing: subpixel-antialiased;
22
23
+ &-y {
24
25
26
+ transform: translate3d(0, -50%, 0);
27
28
+ }
29
30
+ &-x {
31
32
33
+ transform: translate3d(-50%, 0, 0);
34
35
36
37
0 commit comments