Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Предложение: Добавить миксин from с ориентацией экрана #38

Open
akavato opened this issue Apr 23, 2019 · 1 comment

Comments

@akavato
Copy link

akavato commented Apr 23, 2019

Дмитрий добрый день! Было бы удобно если бы вы добавили миксин с возможностью указания ориентации экрана. Пример на scss:

@mixin from-port($min_width){
    @media screen and (orientation: portrait) and (min-width: $min_width){
        @content;
    }
}

@mixin from-land($min_width){
    @media screen and (orientation: landscape) and (min-width: $min_width){
        @content;
    }
}
@dmitry-lavrik
Copy link
Owner

Добрый день! Идея принята на рассмотрение.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants