0

I'm pretty much new to Bootstrap 4 and Sass\SCSS,I wanted to use the new grid and style the rest of my website on my own using SCSS, so I downloaded bootstrap source, compiled bootstrap-grid.scss (which is only the grid plus some variables and mixins), now the question that pops in my mind is : How do I use bootstrap's media queries screen sizes with my own style? Is there a particular mixin/way to call the breakpoints? Or since I'm using the grid only I have to configure media queries myself?

My idea was that there probably would be a mixin that allows me to do for example :

.my_class {
  color: red;
  +mobile {
  color: blue;
  }
}

Does bootstrap have something like this? I have to do it on my own? How do you proceed when working with the grid only?

0

1 Answer 1

0

Yep. There's many Sass options in Bootstrap 4. You can read about them in the docs.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.