Browse files

Add 3D transforms properties

Добавлено несколько функций для 3D трансформаций, описанных
в спецификации http://www.w3.org/TR/css3-transforms/#transform-functions
  • Loading branch information...
1 parent 4f35f20 commit b955d76202940fcac88f52ce72dce09c2f60450d @lancedikson lancedikson committed Oct 21, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 snippets.json
View
7 snippets.json
@@ -474,10 +474,17 @@
"trf:sc": "transform: scale(${1:x}, ${2:y});",
"trf:scx": "transform: scaleX(${1:x});",
"trf:scy": "transform: scaleY(${1:y});",
+ "trf:scz": "transform: scaleZ(${1:z});",
+ "trf:sc3": "transform: scale3d(${1:x}, ${2:y}, ${3:y});",
"trf:r": "transform: rotate(${1:angle});",
+ "trf:rx": "transform: rotateX(${1:angle});",
+ "trf:ry": "transform: rotateY(${1:angle});",
+ "trf:rz": "transform: rotateZ(${1:angle});",
"trf:t": "transform: translate(${1:x}, ${2:y});",
"trf:tx": "transform: translateX(${1:x});",
"trf:ty": "transform: translateY(${1:y});",
+ "trf:tz": "transform: translateZ(${1:z});",
+ "trf:t3": "transform: translate3d(${1:tx}, ${2:ty}, ${3:tz});",
"trfo": "transform-origin:|;",
"trfs": "transform-style:${1:preserve-3d};",
"trs": "transition:${1:prop} ${2:time};",

0 comments on commit b955d76

Please sign in to comment.