Conditional

com.alecdorrington.laminarcomponents.Css.Conditional
final case class Conditional(prelude: String, parts: Seq[Part]) extends Block

Rules applying only under a condition, as @media and @supports have, or nested in a rule, declarations for its selector under the condition.

Value parameters

parts

The rules, and within a rule, declarations.

prelude

The at-rule's keyword and condition, as @media (pointer: coarse).

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Block
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product