1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-28 07:39:57 +02:00

Add equal column mixin (#32155)

This commit is contained in:
CFX
2021-04-06 14:45:28 -04:00
committed by GitHub
parent 317c2cd08e
commit 0c56749f13
2 changed files with 11 additions and 3 deletions

View File

@@ -434,6 +434,9 @@ Mixins are used in conjunction with the grid variables to generate semantic CSS
// Make the element grid-ready (applying everything but the width)
@include make-col-ready();
// Without optional size values, the mixin will create equal columns (similar to using .col)
@include make-col();
@include make-col($size, $columns: $grid-columns);
// Get fancy by offsetting, or changing the sort order