Documentation ¶
Index ¶
- Constants
- func Background(s ...string) Style
- func BackgroundAttachment(s string) Style
- func BackgroundClip(s string) Style
- func BackgroundColor(s string) Style
- func BackgroundImage(s string) Style
- func BackgroundOrigin(s string) Style
- func BackgroundPosition(s ...string) Style
- func BackgroundRepeat(s string) Style
- func BackgroundSize(s string) Style
- func Border(s ...string) Style
- func BorderBottom(s ...string) Style
- func BorderBottomColor(s string) Style
- func BorderBottomStyle(s string) Style
- func BorderBottomWidth(s string) Style
- func BorderCollapse(s string) Style
- func BorderColor(s string) Style
- func BorderImage(s ...string) Style
- func BorderImageOutset(s string) Style
- func BorderImageRepeat(s string) Style
- func BorderImageSlice(s string) Style
- func BorderImageSource(s string) Style
- func BorderImageWidth(s string) Style
- func BorderLeft(s ...string) Style
- func BorderLeftColor(s string) Style
- func BorderLeftStyle(s string) Style
- func BorderLeftWidth(s string) Style
- func BorderRadius(s string) Style
- func BorderRight(s ...string) Style
- func BorderRightColor(s string) Style
- func BorderRightStyle(s string) Style
- func BorderRightWidth(s string) Style
- func BorderSpacing(s string) Style
- func BorderStyle(s string) Style
- func BorderTop(s ...string) Style
- func BorderTopColor(s string) Style
- func BorderTopLeftRadius(s string) Style
- func BorderTopStyle(s string) Style
- func BorderTopWidth(s string) Style
- func BorderWidth(s string) Style
- func Bottom(s string) Style
- func BoxDecorationBreak(s string) Style
- func BoxShadow(s ...string) Style
- func CaptionSide(s string) Style
- func Clear(s string) Style
- func Clip(s string) Style
- func Color(s string) Style
- func Content(s string) Style
- func CounterIncrement(s string) Style
- func CounterReset(s string) Style
- func Cursor(s string) Style
- func Direction(s string) Style
- func Display(s string) Style
- func Em(f float64) string
- func EmptyCells(s string) Style
- func Float(s string) Style
- func Font(s ...string) Style
- func FontFamily(s string) Style
- func FontSize(s string) Style
- func FontStyle(s string) Style
- func FontVariant(s string) Style
- func FontWeight(s string) Style
- func Height(s string) Style
- func Left(s string) Style
- func LetterSpacing(s string) Style
- func LineHeight(s string) Style
- func ListStyle(s string) Style
- func ListStyleImage(s string) Style
- func ListStylePosition(s string) Style
- func ListStyleType(s string) Style
- func Margin(s ...string) Style
- func MarginBottom(s string) Style
- func MarginLeft(s string) Style
- func MarginRight(s string) Style
- func MarginTop(s string) Style
- func MaxHeight(s string) Style
- func MaxWidth(s string) Style
- func MinHeight(s string) Style
- func MinWidth(s string) Style
- func Opacity(s string) Style
- func Orphans(s string) Style
- func Outline(s string) Style
- func OutlineColor(s string) Style
- func OutlineStyle(s string) Style
- func OutlineWidth(s string) Style
- func Overflow(s string) Style
- func Padding(s ...string) Style
- func PaddingBottom(s string) Style
- func PaddingLeft(s string) Style
- func PaddingRight(s string) Style
- func PaddingTop(s string) Style
- func PageBreakAfter(s string) Style
- func PageBreakBefore(s string) Style
- func PageBreakInside(s string) Style
- func Pc(f float64) string
- func Percent(f float64) string
- func Position(s string) Style
- func Pt(f float64) string
- func Px(f float64) string
- func Quotes(s string) Style
- func Resize(s string) Style
- func Right(s string) Style
- func TableLayout(s string) Style
- func TextAlign(s string) Style
- func TextDecoration(s string) Style
- func TextIndent(s string) Style
- func TextTransform(s string) Style
- func Top(s string) Style
- func UnicodeBidi(s string) Style
- func Url(url string) string
- func VerticalAlign(s string) Style
- func Visibility(s string) Style
- func WhiteSpace(s string) Style
- func Widows(s string) Style
- func Width(s string) Style
- func WordSpacing(s string) Style
- func ZIndex(s string) Style
Constants ¶
View Source
const ( Scroll_ = "scroll" // "background-attachment"=scroll | fixed | inherit Fixed_ = "fixed" Inherit_ = "inherit" Left_ = "left" // "background-position"=left | center | right | top | bottom | inherit Center_ = "center" Right_ = "right" Top_ = "top" Bottom_ = "bottom" Repeat_ = "repeat" // "background-repeat"=repeat | repeat-x | repeat-y | no-repeat | inherit RepeatX_ = "repeat-x" RepeatY_ = "repeat-y" NoRepeat_ = "no-repeat" Collapse_ = "collapse" // "border-collapse"=collapse | separate | inherit Separate_ = "separate" Auto_ = "auto" Both_ = "both" // "clear"=none | left | right | both | inherit Normal_ = "normal" // "content"=normal | none | <uri> | open-quote | close-quote | no-open-quote | no-close-quote | inherit OpenQuote_ = "open-quote" CloseQuote_ = "close-quote" NoOpenQuote_ = "no-open-quote" NoCloseQuote_ = "no-close-quote" Default_ = "default" // "cursor"=<uri> | auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress | inherit Crosshair_ = "crosshair" Pointer_ = "pointer" Move_ = "move" E_Resize_ = "e-resize" NE_Resize_ = "ne-resize" NW_Resize_ = "nw-resize" N_Resize_ = "n-resize" SE_Resize_ = "se-resize" SW_Resize_ = "sw-resize" S_Resize_ = "s-resize" W_Resize_ = "w-resize" Text_ = "text" Wait_ = "wait" Help_ = "help" Progress_ = "progress" Ltr_ = "ltr" // "direction"=ltr | rtl | inherit Rtl_ = "rtl" Inline_ = "inline" // "display"=inline | block | list-item | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | none | inherit Block_ = "block" ListItem_ = "list-item" InlineBlock_ = "inline-block" Table_ = "table" InlineTable_ = "inline-table" TableRowGroup_ = "table-row-group " TableHeaderGroup_ = "table-header-group" TableRow_ = "table-row" TableColumnGroup_ = "table-column-group" TableColumn_ = "table-column" TableCell_ = "table-cell" TableCaption_ = "table-caption" Show_ = "show" // "empty-cells"=show | hide | inherit Hide_ = "hide" Invert_ = "invert" // "outline-color"=<color> | invert | inherit Visible_ = "visible" // "overflow"=visible | hidden | scroll | auto | inherit Hidden_ = "hidden" Always_ = "always" // "page-break-after"=auto | always | avoid | left | right | inherit Avoid_ = "avoid" Static_ = "static" // "position"=static | relative | absolute | fixed | inherit Relative_ = "relative" Absolute_ = "absolute" Justify_ = "justify" // "text-align"=left | right | center | justify | inherit Underline_ = "underline" // "text-decoration"=none | underline | overline | line-through | blink | inherit | none Overline_ = "overline" LineThrough_ = "line-through" Blink_ = "blink" Capitalize_ = "capitalize" // "text-transform"=capitalize | uppercase | lowercase | none | inherit Uppercase_ = "uppercase" Lowercase_ = "lowercase" Embed_ = "embed" //"unicode-bidi"=normal | embed | bidi-override | inherit BidiOverride_ = "bidi-override" Baseline_ = "baseline" //"vertical-align"=baseline | sub | super | top | text-top | middle | bottom | text-bottom | <percentage> | <length> | inherit Sub_ = "sub" Super_ = "super" TextTop_ = "text-top" Middle_ = "middle" TextBottom_ = "text-bottom" Pre_ = "pre" //"white-space"=normal | pre | nowrap | pre-wrap | pre-line | inherit Nowrap_ = "nowrap" PreWrap_ = "pre-wrap" PreLine_ = "pre-line" Dashed_ = "dashed" // "border-image-width"=<length> | <percentage> | <number> | auto Dotted_ = "dotted" Solid_ = "solid" Caption_ = "caption" // caption | icon | menu | message-box | small-caption | status-bar Icon_ = "icon" Menu_ = "menu" MessageBox_ = "message-box" SmallCaption_ = "small-caption" StatusBar_ = "status-bar" None_ = "none" Italic_ = "italic" // "font-style"=normal | italic | oblique | inherit Oblique_ = "oblique" Bold_ = "bold" // "font-weight"=normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit Bolder_ = "bolder" Lighter_ = "lighter" SmallCaps_ = "small-caps" // "font-variant"=normal | small-caps | inherit Inside_ = "inside" // "list-style-position"=inside | outside | inherit Outside_ = "outside" Disc_ = "disc" // "list-style-type"=disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian | lower-alpha | upper-alpha | none | inherit Circle_ = "circle" Square_ = "square" Decimal_ = "decimal" DecimalLeadingZero_ = "decimal-leading-zero" LowerRoman_ = "lower-roman" UpperRoman_ = "upper-roman" LowerGreek_ = "lower-greek" LowerLatin_ = "lower-latin" UpperLatin_ = "upper-latin" Armenian_ = "armenian" Georgian_ = "georgian" LowerAlpha_ = "lower-alpha" UpperAlpha_ = "upper-alpha" )
values
Variables ¶
This section is empty.
Functions ¶
func Background ¶
func Background(s ...string) Style
func BackgroundAttachment ¶
func BackgroundAttachment(s string) Style
func BackgroundClip ¶
func BackgroundClip(s string) Style
func BackgroundColor ¶
func BackgroundColor(s string) Style
func BackgroundImage ¶
func BackgroundImage(s string) Style
func BackgroundOrigin ¶
func BackgroundOrigin(s string) Style
func BackgroundPosition ¶
func BackgroundPosition(s ...string) Style
func BackgroundRepeat ¶
func BackgroundRepeat(s string) Style
func BackgroundSize ¶
func BackgroundSize(s string) Style
func BorderBottom ¶
func BorderBottom(s ...string) Style
func BorderBottomColor ¶
func BorderBottomColor(s string) Style
func BorderBottomStyle ¶
func BorderBottomStyle(s string) Style
func BorderBottomWidth ¶
func BorderBottomWidth(s string) Style
func BorderCollapse ¶
func BorderCollapse(s string) Style
func BorderColor ¶
func BorderColor(s string) Style
func BorderImage ¶
func BorderImage(s ...string) Style
func BorderImageOutset ¶
func BorderImageOutset(s string) Style
func BorderImageRepeat ¶
func BorderImageRepeat(s string) Style
func BorderImageSlice ¶
func BorderImageSlice(s string) Style
func BorderImageSource ¶
func BorderImageSource(s string) Style
func BorderImageWidth ¶
func BorderImageWidth(s string) Style
func BorderLeft ¶
func BorderLeft(s ...string) Style
func BorderLeftColor ¶
func BorderLeftColor(s string) Style
func BorderLeftStyle ¶
func BorderLeftStyle(s string) Style
func BorderLeftWidth ¶
func BorderLeftWidth(s string) Style
func BorderRadius ¶
func BorderRadius(s string) Style
func BorderRight ¶
func BorderRight(s ...string) Style
func BorderRightColor ¶
func BorderRightColor(s string) Style
func BorderRightStyle ¶
func BorderRightStyle(s string) Style
func BorderRightWidth ¶
func BorderRightWidth(s string) Style
func BorderSpacing ¶
func BorderSpacing(s string) Style
func BorderStyle ¶
func BorderStyle(s string) Style
func BorderTopColor ¶
func BorderTopColor(s string) Style
func BorderTopLeftRadius ¶
func BorderTopLeftRadius(s string) Style
func BorderTopStyle ¶
func BorderTopStyle(s string) Style
func BorderTopWidth ¶
func BorderTopWidth(s string) Style
func BorderWidth ¶
func BorderWidth(s string) Style
func BoxDecorationBreak ¶
func BoxDecorationBreak(s string) Style
func CaptionSide ¶
func CaptionSide(s string) Style
func CounterIncrement ¶
func CounterIncrement(s string) Style
func CounterReset ¶
func CounterReset(s string) Style
func EmptyCells ¶
func EmptyCells(s string) Style
func FontFamily ¶
func FontFamily(s string) Style
func FontVariant ¶
func FontVariant(s string) Style
func FontWeight ¶
func FontWeight(s string) Style
func LetterSpacing ¶
func LetterSpacing(s string) Style
func LineHeight ¶
func LineHeight(s string) Style
func ListStyleImage ¶
func ListStyleImage(s string) Style
func ListStylePosition ¶
func ListStylePosition(s string) Style
func ListStyleType ¶
func ListStyleType(s string) Style
func MarginBottom ¶
func MarginBottom(s string) Style
func MarginLeft ¶
func MarginLeft(s string) Style
func MarginRight ¶
func MarginRight(s string) Style
func OutlineColor ¶
func OutlineColor(s string) Style
func OutlineStyle ¶
func OutlineStyle(s string) Style
func OutlineWidth ¶
func OutlineWidth(s string) Style
func PaddingBottom ¶
func PaddingBottom(s string) Style
func PaddingLeft ¶
func PaddingLeft(s string) Style
func PaddingRight ¶
func PaddingRight(s string) Style
func PaddingTop ¶
func PaddingTop(s string) Style
func PageBreakAfter ¶
func PageBreakAfter(s string) Style
func PageBreakBefore ¶
func PageBreakBefore(s string) Style
func PageBreakInside ¶
func PageBreakInside(s string) Style
func TableLayout ¶
func TableLayout(s string) Style
func TextDecoration ¶
func TextDecoration(s string) Style
func TextIndent ¶
func TextIndent(s string) Style
func TextTransform ¶
func TextTransform(s string) Style
func UnicodeBidi ¶
func UnicodeBidi(s string) Style
func VerticalAlign ¶
func VerticalAlign(s string) Style
func Visibility ¶
func Visibility(s string) Style
func WhiteSpace ¶
func WhiteSpace(s string) Style
func WordSpacing ¶
func WordSpacing(s string) Style
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.