Documentation ¶
Overview ¶
Package cd defines CSS declarations of CSS properties.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundColor ¶
BackgroundColor is a CSS declaration of CSS property "background-color".
func (BackgroundColor) CSS ¶
func (bc BackgroundColor) CSS() string
type BorderRadius ¶
BorderRadius is a CSS declaration of CSS property "border-radius".
func (BorderRadius) CSS ¶
func (br BorderRadius) CSS() string
type FontFamily ¶
type FontFamily struct {
cv.FontFamily
}
FontFamily is a CSS declaration of CSS property "font-family".
func (FontFamily) CSS ¶
func (ff FontFamily) CSS() string
type LineHeight ¶
LineHeight is a CSS declaration of CSS property "line-height".
func (LineHeight) CSS ¶
func (lh LineHeight) CSS() string
type Padding ¶
type Padding struct { // TODO: These should be factored into CSS values. Multiple ways of defining padding, which is 4 sizes. Size0 cv.Size Size1 cv.Size }
Padding is a CSS declaration of CSS property "padding".
type VerticalAlign ¶
type VerticalAlign struct {
cv.VerticalAlign
}
VerticalAlign is a CSS declaration of CSS property "vertical-align".
func (VerticalAlign) CSS ¶
func (va VerticalAlign) CSS() string
Click to show internal directories.
Click to hide internal directories.