1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 17:32:41 +02:00

Give helpers folder an index.scss, migrate ratio helper to aspect-ratio utility

This commit is contained in:
Mark Otto
2025-02-19 09:51:51 -08:00
parent c4fefeba36
commit 21a94cae37
8 changed files with 46 additions and 84 deletions

View File

@@ -296,16 +296,15 @@ $transition-collapse: height .35s ease !default;
$transition-collapse-width: width .35s ease !default;
// scss-docs-end collapse-transition
// stylelint-disable function-disallowed-list
// scss-docs-start aspect-ratios
$aspect-ratios: (
"1x1": 100%,
"4x3": calc(3 / 4 * 100%),
"16x9": calc(9 / 16 * 100%),
"21x9": calc(9 / 21 * 100%)
"auto": auto,
"4x3": 4 / 3,
"1x1": 1 / 1,
"16x9": 16 / 9,
"21x9": 21 / 9
) !default;
// scss-docs-end aspect-ratios
// stylelint-enable function-disallowed-list
// Typography
//