Add webkit prefixed transforms (android 4)
This commit is contained in:
parent
f4017f5a7f
commit
2de90013f7
9 changed files with 30 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
@mixin absolute-center() {
|
||||
position: absolute;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
|
@ -16,4 +17,4 @@
|
|||
|
||||
.absolute-center{
|
||||
@include absolute-center();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue