CssLength

zio.blocks.html.CssLength
See theCssLength companion object
final case class CssLength(value: Double, unit: String)

A CSS length value with a numeric value and unit (e.g., 10px, 2em, 50%).

Attributes

Companion
object
Source
ToCss.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def render: String

Attributes

Source
ToCss.scala

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
Source
Product.scala
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
Source
Product.scala