Major version changes:
Patch changes:
not queries to not overlap with the regular breakpoint queriesStandard media queries for responsive pages.
import Css
import Css.Media as Media
import Nri.Ui.MediaQuery.V1 as MediaQuery
style : Css.Style
style =
Media.withMedia
[ MediaQuery.mobile ]
[ Css.padding (Css.px 2)
]MediaQuery.withViewport
MediaQuery.narrowMobileBreakpoint
MediaQuery.quizEngineBreakpoint
[ Css.flexDirection Css.column
]Styles using the mobileBreakpoint value as the maxWidth.
Styles using the mobileBreakpoint value as the minWidth.
1000px
Styles using the quizEngineBreakpoint value as the maxWidth.
Styles using the quizEngineBreakpoint value as the minWidth.
750px
Styles using the narrowMobileBreakpoint value as the maxWidth
Styles using the quizEngineBreakpoint value as the minWidth.
500px