copy() Is used for copying property value and can be accessed as a variable in other place. e.g:
⇲
If the parameter is negative, the position is counted from the end of the value, else it count from the start. ⁅ syntax ⁆ copy(get-from, var-name). Example: The below code get #000 from the border property negatively:
border:3px dotted #000 copy(-5, var-color);
Output:
Example: The below code get rgb(300,340,0) that is inside the squar bracket from the content property:
content:"My background color is [rgb(300,340,0)] but, I always like to use {hsl(200,40%,30%)}" copy([-], bg-color);
Output:
» $G()
$G( / |);
$g() Is used for properties shorthands and in selectors e.g
⇲
In $G() method the first property or selector is parent to those after the slash. ⁅ syntax ⁆ $g(parent children |). Example in properties: $g(border: 2px solid; /-radius: 1rem; /-color: #909; |)
Output: border:2px solid; border-radius: 1rem; border-color: #909;
Example in selector: $g(body{ body style } / h1{ body h1 style } / p{ body p style } |)
Output: body{ body style} body h1{ body h1 style } body p{ body p style }
» $P()
$P( , [ ])
$p() Is used for properties multiplication e.g
⇲
This method shared 1 value in ten (10) places, With colon (:) and semicolon (;). It shared 1 value to less than or complete ten properties. ⁅ syntax ⁆ $p(properties[value]) Example $p(A, B, C, D, E, F, G, H, I, J[⁑])
Output: A:⁑; B:⁑; C:⁑; D:⁑; E:⁑; F:⁑; G:⁑; H:⁑; I:⁑; J:⁑;
» $ACS()
$ACS( [ ])
$acs() Is used in element selector e.g
» $M()
$M( , [ ]);
$m() Is used for properties multiplication e.g
Properties in $m() can`t be more than 18.
»
%I()
%i( ,[ ])
%i() Is similar to $m().
The defference is that the properties in %i() can`t be more than 10.
» %9()
%9( , [ ])
%9() Is similar to $m().
The defference is that the properties in %9() can`t be more than 9.
It count from %1() to %9() calculating accordingly.
The properties in %number() methods can`t be more than the given number,it shared the value to the given number. The number on it can't be less than 1, and it can't be greater than 9. You can use %i() instead of %10().
» $
$ : ; ≶ $ !
$ Is used for variable e.g
» #count()
#count(' '/' ')
#count() Is used instead of too much notes in @keyframes e.g
» repeat()
repeat(count);
repeat()Is Used to create copies of a text in content property e.g
⇲
If you omit the count, It means (auto). ⁅ syntax ⁆ repeat(count). Example: content:"Hello world! " repeat();
Output:
» IMP()
IMP({ }, )
imp()don`t use this method Is used instead of the <style></style> tag e.g