You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<CodeBlockDescription="Set related property, delay, duration and timing function."Code="@("transition-color-1s-2s-ease")" />
9
+
<MudAlertSeverity="Severity.Info">Transition values have no order. However, the first number value represents delay, and other one represents duration.</MudAlert>
10
+
<CodeBlockTitle="Shorten BCSS Usage"Description="Don't need to add 's' suffix to number values. Keep property empty to affect all properties."Code="@("transition-all-1-2-ease\ntransition-1-2-ease\t//Affectallproperties.")" />
11
+
<CodeBlockTitle="Multiple Transition Definitions"Description="For multiple transitions, use full name of property and numbers with 's' suffix. Seperate with comma."Code="@("transition-background-color-2transition-color-2\t//Wrong,onlycolortransitionworks.\ntransition-background-color-2s,color-2s\t\t//Bothpropertieswork.")" />
12
+
<CodeBlockTitle="Advanced"Description="If your transition (with basic syntax) doesn't work, try with advanced syntax. ('+' instead of '-' and '*' instead of ' '). This example shows basic and advanced syntax."Code="@("transition-backdrop-filter-2-ease-in-out\t//Basicsyntax.\ntransition-backdrop+filter-2s-ease+in+out\t//Advancedsyntax.")" />
Copy file name to clipboardExpand all lines: BCSSViewer.Docs/Pages/Syntax/AdvancedSyntaxPage.razor
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@
6
6
<MudText>Normally BCSS classes can be created with dash (-) character. But in advanced scenarios '*' and '+' character are also allowed.</MudText>
7
7
8
8
<MudStackClass="mt-4"Spacing="4">
9
-
<CodeBlockDescription="'*' character is used instead of a space and '+' character instead of '-'"Code="@("transition-color-2s-ease+in+out\ntransition-color*2s*ease+in+out\ntransition--color-2s-ease+in+out\ntransition--color*2s*ease+in+out\n//transition:color2sease-in-out")" />
10
-
<MudAlertSeverity="Severity.Info">With advanced syntax, all CSS statements can be transform into BCSS.</MudAlert>
9
+
<CodeBlockDescription="Advanced syntax has two more special characters. '*' character is used instead of a space and '+' character instead of '-'"Code="@("transition-color-2s-ease-in-out\ntransition-color*2s*ease+in+out\ntransition--color-2s-ease+in+out\ntransition--color*2s*ease+in+out\n//transition:color2sease-in-out")" />
10
+
<MudAlertSeverity="Severity.Info">With advanced syntax, all CSS statements can be transform into BCSS. If your basic syntax doesn't work, try with advanced syntax.</MudAlert>
11
11
</MudStack>
12
12
13
13
<PageBottomRoutingPreviousHref="/syntax/doubledash"PreviousText="Dash and DoubleDash"NextHref="/syntax/unitmeasurement"NextText="Unit Measurement" />
0 commit comments