Skip to content

Loading…

Add 3D transforms properties #259

Merged
merged 1 commit into from

2 participants

@lancedikson

Добавлено несколько функций для 3D трансформаций, описанных
в спецификации http://www.w3.org/TR/css3-transforms/#transform-functions

@lancedikson lancedikson Add 3D transforms properties
Добавлено несколько функций для 3D трансформаций, описанных
в спецификации http://www.w3.org/TR/css3-transforms/#transform-functions
b955d76
@sergeche sergeche merged commit 14f89af into emmetio:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 21, 2013
  1. @lancedikson

    Add 3D transforms properties

    lancedikson committed
    Добавлено несколько функций для 3D трансформаций, описанных
    в спецификации http://www.w3.org/TR/css3-transforms/#transform-functions
This page is out of date. Refresh to see the latest.
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};",
Something went wrong with that request. Please try again.