StyleTree

case class StyleTree(selectors: Seq[String], styles: SortedMap[String, String], children: Seq[StyleTree])

A structure representing a set of CSS rules which has not been rendered into a Cls.

e.g. a StyleTree that looks like

.cls1 .cls2 :hover :hover cls2

Flattens out via stringify into CSS rules like

.cls1 .cls2:hover .cls1:hover .cls2

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def stringify(prefix: Seq[String]): String

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product