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
**Note**: The `<div>` with class `slds-box` is for demo purposes only.
2
+
1
3
By default, the grid items within a `.{{cssPrefix}}grid` do not stretch to take up that available white-space on the main axis. Apply `.{{cssPrefix}}col` to a grid item, it will stretch across the main axis. The width of each grid item will be determined by the content within that region.
2
4
3
-
To apply gutters between each grid item, the following classes are available to add your intended gutters, `.{{cssPrefix}}col--padded`, `.{{cssPrefix}}col--padded-medium`and `.{{cssPrefix}}col--padded-large`.
5
+
To apply gutters between each grid item, the following spacing classes are available to add your intended gutters, `.{{cssPrefix}}p-horizontal--small`, `.{{cssPrefix}}p-horizontal--medium`, `.{{cssPrefix}}p-horizontal--large`, `.{{cssPrefix}}p-around--small`, `.{{cssPrefix}}p-around--medium`and `.{{cssPrefix}}p-horizontal--large`.
4
6
5
7
You may need to pull the grid items back to their original grid boundaries of the grid container, apply the classes `.{{cssPrefix}}grid--pull-padded`, `.{{cssPrefix}}grid--pull-padded-medium` or `.{{cssPrefix}}grid--pull-padded-large` to the `.{{cssPrefix}}grid`.
0 commit comments