com.alecdorrington.laminarcomponents.Stylesheet
See theStylesheet companion object
final class Stylesheet extends Modifier[Base]
A stylesheet written in Scala (Css), kept beside the view it styles and given to the view's element as a modifier: the first element given it adds it to the page's head, where it stays.
Value parameters
- blocks
-
Its rules, in order.
- layer
-
The cascade layer its rules go in, if any. Rules in no layer outweigh those in any layer, whatever their selectors, so that a page restyles a layered component without matching its selectors.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Modifier[Base]class Objecttrait Matchableclass Any
Members list
In this article