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
Copy file name to clipboardExpand all lines: pages/css/utilities/layout.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,16 @@ Use `.width-full` to set width to 100%.
190
190
</div>
191
191
```
192
192
193
+
Use `.width-auto` to reset width to `auto` (initial value). Typically used with **responsive variants**. Resize the window to see the effect in the example below.
194
+
195
+
```html
196
+
<divclass="d-table width-full width-md-auto">
197
+
<divclass="d-table-cell">
198
+
<inputclass="form-control width-full"type="text"value="Responsive width form field"aria-label="Sample full responsive width form field">
0 commit comments