style

slinky.web.html.style$
object style extends Tag with Attr

The HTML <style> element contains style information for a document, or part of a document. By default, the style instructions written inside that element are expected to be CSS. Contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the <style> element have mainly the purpose of allowing for quick styling, for example for testing purposes.

Attributes

Graph
Supertypes
trait Attr
trait Tag
class Object
trait Matchable
class Any
Self type
style.type

Members list

Concise view

Type members

Classlikes

object tag extends TagElement

Attributes

Graph
Supertypes
class TagElement
class Object
trait Matchable
class Any
Self type
tag.type

Types

type attrType = _style_attr.type
type tagType = tag.type

Inherited types

type supports[T <: Tag] = AttrPair[attrType] => AttrPair[tagType]

Attributes

Inherited from:
Attr

Value members

Concrete methods

def :=(v: Object): AttrPair[_style_attr.type]
def :=(v: Option[Object]): OptionalAttrPair[_style_attr.type]
def apply(mods: TagMod[tag.type]*): WithAttrs[tagType]