CssRule

data class CssRule(val selectors: List<String>, val block: String, val order: Int, val media: String? = null)(source)

A rule of CSS: its selectors and the text of its block, order is its place in the style sheet; media is the media query of the @media rules it is in, null when it is in none

Constructors

Link copied to clipboard
constructor(selectors: List<String>, block: String, order: Int, media: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard

the declarations of the block

Link copied to clipboard
Link copied to clipboard
val order: Int
Link copied to clipboard