2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Add .translate-middle-x and .translate-middle-y utilities

This commit is contained in:
Martijn Cuppens
2020-11-29 15:58:20 +01:00
committed by XhmikosR
parent 1f2e600304
commit 5b0dcf8ffe
2 changed files with 19 additions and 1 deletions
+3 -1
View File
@@ -65,7 +65,9 @@ $utilities: map-merge(
property: transform,
class: translate-middle,
values: (
null: (translateX(-50%) translateY(-50%))
null: translate(-50%, -50%),
x: translateX(-50%),
y: translateY(-50%),
)
),
"border": (