Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for media queries #46

vallemar started this conversation in 1. Ideas & Discussions
Discussion options

I think it would be interesting to add media query support to NativeScript. I don't think as a first iteration all the standardization is needed but the basic uses of width, height and orientation are needed:

@media (width: 360) {
}
@media (min-width: 35) {
}
@media (max-width: 50) {
}
@media (height: 360) {
}
@media (min-height: 25) {
}
@media (max-height: 40) {
}
@media (orientation: landscape) {
}
@media (orientation: portrait) {
}

It would contribute a lot when designing views and I think it would be compatible with tailwind and its responsive logic.

You must be logged in to vote

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /