Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeclarationGroup ¶
type DeclarationGroup []Decl
DeclarationGroup groups multiple declarations together.
func (DeclarationGroup) CSSString ¶
func (dg DeclarationGroup) CSSString() string
type Rule ¶
type Rule struct {
// contains filtered or unexported fields
}
Rule represents a CSS rule (linking declarations to selectors).
func (*Rule) With ¶
func (r *Rule) With(declarations DeclarationGroup) *Rule
With appends the given declarations to the rules' list of declarations.
Click to show internal directories.
Click to hide internal directories.