blob: b9294e24050dd31cd0085c326fef3f8842d97782 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
package reading
import scalacss.Defaults._
import scalacss.internal.DslBase.ToStyle
object Media extends StyleSheet.Inline {
import dsl._
def desktop(st: ToStyle*): ToStyle = media.minWidth(1000.px)(st: _*)
def mobile(st: ToStyle*): ToStyle = media.maxWidth(1000.px)(st: _*)
}
|