D
D
Dymok2018-07-08 12:42:19
css
Dymok, 2018-07-08 12:42:19

How to write styles for different screens when using bootstrap?

I'm doing a project using bootstrap, using only the grid from the scss sources. In projects without this grid, I used these mixins for all screens:

$break_xl: 1200px;
@mixin xl-block(){
  @media screen and (min-width: $break_xl){
    @content;
  }
}

The question is how to correctly write your styles for different screens using bootstrap? Are there any mixins in bootstrap for this or do I need to write media queries / my own mixins with pens?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Glebov, 2018-07-08
@UnluckySerivelha

https://getbootstrap.com/docs/4.1/layout/overview/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question