Last active
          December 29, 2021 17:43 
        
      - 
      
 - 
        
Save folbert/085e7c171e46f489ce2b64b3bec9b036 to your computer and use it in GitHub Desktop.  
    Display current Bootstrap v4 size on screen
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| Inspired by https://www.viget.com/articles/check-your-breakpoint-using-this-simple-css-snippet | |
| */ | |
| body:after { | |
| color: #000; | |
| font-family: Helvetica; | |
| font-size: 12px; | |
| padding: 5px; | |
| font-weight: bold; | |
| right: 10px; | |
| position: fixed; | |
| text-align: center; | |
| text-transform: uppercase; | |
| bottom: 10px; | |
| width: 200px; | |
| z-index: 9999; | |
| background: #c0c0c0; | |
| border: solid 1px #000; | |
| @each $name, $value in $grid-breakpoints { | |
| @include media-breakpoint-up($name) { | |
| content: '#{$name} - min-width: #{$value}'; | |
| } | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
After finding your snippet and not finding what I was looking for, I just made it. here it is for those who are looking for a sample bootstrap way of finding bootstrap breakpoints : https://codepen.io/Unicornist/pen/WPWaBP