Root node for CSS which might be characterized by a media type. Created by adavis on 8/10/16.
Type Params | Return Type | Name and description |
---|---|---|
|
MediaCSS |
add(StyleGroup sg) |
|
MediaCSS |
add(KeyFrames kf) |
|
MediaCSS |
add(FontFace ff) |
|
MediaCSS |
add(MediaCSS mediaCSS) |
|
MediaCSS |
add(Collection coll) |
|
MediaCSS |
addAll(Collection coll) |
|
MediaCSS |
leftShift(StyleGroup sg) |
|
MediaCSS |
leftShift(KeyFrames kf) |
|
MediaCSS |
leftShift(FontFace ff) |
|
MediaCSS |
leftShift(MediaCSS mediaCSS) |
|
MediaCSS |
leftShift(Collection coll) |
|
def |
methodMissing(String name, def args) |
|
def |
propertyMissing(String name) Allows _.styleClass syntax to be used anywhere selectors are used. |
|
StyleGroup |
sel(String selector, Closure<StyleGroup> closure, boolean addIt = true) Creates a new StyleGroup element and runs given closure on it. |
|
StyleGroup |
sg(String selector, Closure closure) Creates a new StyleGroup element and runs given closure on it. |
|
String |
toString() |
|
void |
writeTo(Appendable writer) |
List of style groups.
Media rule for when to use this css. Optional- null for root node.
Creates a new StyleGroup element and runs given closure on it.
Creates a new StyleGroup element and runs given closure on it.
Groovy Documentation