question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The size mixin is not documented in the docs. https://github.com/twbs/bootstrap/blob/29f178d89129732d35ae812667709c64cdb28a6f/scss/mixins/_size.scss#L1-L6

Shall we:

  • document this
  • or remove the mixin (width and height are not the most complex properties to remember)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
kevinruscoecommented, Mar 19, 2018

Hmm, at the moment there’s no dedicated place in the documentation for the sass mixins. They are mentioned a couple of times but under their section (i.e. grid and float).

I think we would have to add a root level doc for the mixins because I’m not sure it fits anywhere else.

1reaction
Kopyovcommented, Mar 14, 2018

I personally find it very useful, especially in complex SCSS files.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sass: @mixin and @include
Mixins allow you to define styles that can be re-used throughout your stylesheet. They make it easy to avoid using non-semantic classes like...
Read more >
How to Use Mixins in Sass and Pass Arguments – With Code ...
We need font-size, color, and background properties here. Now I should pass arguments by turning them into variables. @mixin text($font-size,$ ...
Read more >
Using a Mixin to Take the Math out of Responsive Font Sizes
In this case, a font size of 40px is passed into the mixin. That value serves as the maximum font size of the...
Read more >
Sass Mixins: Keep Your Stylesheets DRY - Toptal
In this article, I have listed ten of my favorite Sass mixins for ... When the browser doesn't support rem sizing, the mixin...
Read more >
Writing Media Queries with Sass Mixins | by Timothy Robards
Say we want to use a mixin to reduce the font size of our header text on mobile devices. We add the mixin...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found