We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
transform
1 parent e77e4e7 commit fbd6475Copy full SHA for fbd6475
src/css/properties.md
@@ -46,3 +46,25 @@ selector {
46
::: tip 👮♀️ 自動検知
47
このルールは*Stylelint*によって警告されます。
48
:::
49
+
50
+## transform
51
52
+`transform`プロパティは関数を利用せず、対応する各プロパティを利用します。
53
54
+```css
55
+selector {
56
+ transform: translate(10px, 20px); /* ❌️ */
57
+ transform: rotate(45deg); /* ❌️ */
58
+ transform: scale(1.5); /* ❌️ */
59
+ transform: translateX(100px); /* ❌️ */
60
61
+ translate: 10px 20px; /* ✅️ */
62
+ rotate: 45deg; /* ✅️ */
63
+ scale: 1.5; /* ✅️ */
64
+ translate: 100px; /* ✅️ */
65
+}
66
+```
67
68
+::: tip 👮♀️ 自動検知
69
+このルールは*Stylelint*によって警告されます。
70
+:::
0 commit comments