Skip to content

Confusing description of spacing utilities notation #39643

Answered by julien-deramond
Stella521 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Stella521

Should I understand the classes using different formats for xs and (sm, md, lg, xl, and xxl) are "the remaining breakpoints"?

The "remaining breakpoints" are all breakpoints except xs, so sm, md, lg, xl and xxl.

For example:

  • mt-0 (that corresponds to xs) has no abbreviation and is defined without any CSS media
  • mt-sm-0 is defined from sm with the following CSS media: @media (min-width: 576px)
  • mt-md-0 is defined from md with the following CSS media: @media (min-width: 768px)
  • mt-lg-0 is defined from lg with the following CSS media: @media (min-width: 992px)
  • mt-xl-0 is defined from xl with the following CSS media: @media (min-width: 1200px)
  • mt-xl-0 is defined from xl with th…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Stella521
Comment options

@julien-deramond
Comment options

Answer selected by Stella521
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #39642 on February 05, 2024 14:49.