Skip to content

Commit 964e93c

Browse files
SeregPierstoenescu
authored andcommitted
CSS Helper Positioning Class - .absolute-center (quasarframework#987)
* Update positioning.styl * Update positioning.styl
1 parent 63a8f16 commit 964e93c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/css/core/positioning.styl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
.absolute,
2222
.absolute-full,
23+
.absolute-center,
2324
.absolute-bottom,
2425
.absolute-left,
2526
.absolute-right,
@@ -66,6 +67,11 @@
6667
bottom 0
6768
left 0
6869

70+
.fixed-center, .absolute-center
71+
top 50%
72+
left 50%
73+
transform translate(-50%, -50%)
74+
6975
.vertical-
7076
&top
7177
vertical-align top !important

0 commit comments

Comments
 (0)