L
L
lavezzi12015-10-04 19:10:52
css
lavezzi1, 2015-10-04 19:10:52

How to understand and use this mixin?

Hello. Explain how to use

@media (min-width: $media-screen-lg)
    if $media-enable-debug
      body:before
        content 'min-width: $media-screen-lg'

What to indicate in the css itself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nash, 2015-10-05
@mrTyler

It's simple, you have the $media-screen-lg variable, which should be about 1170px or whatever you prefer. There is also a $media-enable-debug variable, which is responsible for displaying the value of the current variable before body.
Create these two variables, you can even in a file with a mixin, if you don’t know how otherwise, and see what happens.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question