Documentation
¶
Index ¶
- Constants
- func Background(s ...string) Styling
- func BackgroundAttachment(s string) Styling
- func BackgroundClip(s string) Styling
- func BackgroundColor(s string) Styling
- func BackgroundImage(s string) Styling
- func BackgroundOrigin(s string) Styling
- func BackgroundPosition(s ...string) Styling
- func BackgroundRepeat(s string) Styling
- func BackgroundSize(s string) Styling
- func Border(s ...string) Styling
- func BorderBottom(s ...string) Styling
- func BorderBottomColor(s string) Styling
- func BorderBottomStyle(s string) Styling
- func BorderBottomWidth(s string) Styling
- func BorderCollapse(s string) Styling
- func BorderColor(s string) Styling
- func BorderImage(s ...string) Styling
- func BorderImageOutset(s string) Styling
- func BorderImageRepeat(s string) Styling
- func BorderImageSlice(s string) Styling
- func BorderImageSource(s string) Styling
- func BorderImageWidth(s string) Styling
- func BorderLeft(s ...string) Styling
- func BorderLeftColor(s string) Styling
- func BorderLeftStyle(s string) Styling
- func BorderLeftWidth(s string) Styling
- func BorderRadius(s string) Styling
- func BorderRight(s ...string) Styling
- func BorderRightColor(s string) Styling
- func BorderRightStyle(s string) Styling
- func BorderRightWidth(s string) Styling
- func BorderSpacing(s string) Styling
- func BorderStyle(s string) Styling
- func BorderTop(s ...string) Styling
- func BorderTopColor(s string) Styling
- func BorderTopLeftRadius(s string) Styling
- func BorderTopStyle(s string) Styling
- func BorderTopWidth(s string) Styling
- func BorderWidth(s string) Styling
- func Bottom(s string) Styling
- func BoxDecorationBreak(s string) Styling
- func BoxShadow(s ...string) Styling
- func CaptionSide(s string) Styling
- func Clear(s string) Styling
- func Clip(s string) Styling
- func Color(s string) Styling
- func Content(s string) Styling
- func CounterIncrement(s string) Styling
- func CounterReset(s string) Styling
- func Cursor(s string) Styling
- func Direction(s string) Styling
- func Display(s string) Styling
- func Em(f float64) string
- func EmptyCells(s string) Styling
- func Float(s string) Styling
- func Font(s ...string) Styling
- func FontFamily(s string) Styling
- func FontSize(s string) Styling
- func FontStyle(s string) Styling
- func FontVariant(s string) Styling
- func FontWeight(s string) Styling
- func Height(s string) Styling
- func Left(s string) Styling
- func LetterSpacing(s string) Styling
- func LineHeight(s string) Styling
- func ListStyle(s string) Styling
- func ListStyleImage(s string) Styling
- func ListStylePosition(s string) Styling
- func ListStyleType(s string) Styling
- func Margin(s ...string) Styling
- func MarginBlock(s ...string) Styling
- func MarginBottom(s string) Styling
- func MarginLeft(s string) Styling
- func MarginRight(s string) Styling
- func MarginTop(s string) Styling
- func MaxHeight(s string) Styling
- func MaxWidth(s string) Styling
- func MinHeight(s string) Styling
- func MinWidth(s string) Styling
- func Opacity(s string) Styling
- func Orphans(s string) Styling
- func Outline(s string) Styling
- func OutlineColor(s string) Styling
- func OutlineStyle(s string) Styling
- func OutlineWidth(s string) Styling
- func Overflow(s string) Styling
- func OverflowX(s string) Styling
- func OverflowY(s string) Styling
- func Padding(s ...string) Styling
- func PaddingBottom(s string) Styling
- func PaddingLeft(s string) Styling
- func PaddingRight(s string) Styling
- func PaddingTop(s string) Styling
- func PageBreakAfter(s string) Styling
- func PageBreakBefore(s string) Styling
- func PageBreakInside(s string) Styling
- func Pc(f float64) string
- func Percent(f float64) string
- func Position(s string) Styling
- func Pt(f float64) string
- func Px(f float64) string
- func Quotes(s string) Styling
- func RGB(red, green, blue uint8) string
- func Rem(f float64) string
- func Resize(s string) Styling
- func Right(s string) Styling
- func TableLayout(s string) Styling
- func TextAlign(s string) Styling
- func TextDecoration(s string) Styling
- func TextDecorationStyle(s string) Styling
- func TextDecorationThickness(s string) Styling
- func TextIndent(s string) Styling
- func TextOverflow(s string) Styling
- func TextTransform(s string) Styling
- func Top(s string) Styling
- func TopHorizontalBottom(top, horizontal, bottom string) string
- func TopRightBottomLeft(top, right, bottom, left string) string
- func Uint8(f uint8) string
- func UnicodeBidi(s string) Styling
- func Url(url string) string
- func VerticalAlign(s string) Styling
- func VerticalHorizontal(vertical, horizontal string) string
- func Vh(f float64) string
- func Visibility(s string) Styling
- func Vw(f float64) string
- func WhiteSpace(s string) Styling
- func Widows(s string) Styling
- func Width(s string) Styling
- func WordBreak(s string) Styling
- func WordSpacing(s string) Styling
- func WritingMode(s string) Styling
- func ZIndex(s string) Styling
- type Var
Constants ¶
View Source
const ( CurrentColor_ = "currentcolor" Scroll_ = "scroll" // "background-attachment"=scroll | fixed | inherit Fixed_ = "fixed" Sticky_ = "sticky" 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" Flex_ = "flex" 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 | overlay Overlay_ = "overlay" Hidden_ = "hidden" Ellipsis_ = "ellipsis" Always_ = "always" // "page-break-after"=auto | always | avoid | left | right | inherit Avoid_ = "avoid" KeepAll_ = "keep-all" BreakAll_ = "break-all" 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" Important_ = "!important" )
values
View Source
const Zero_ = "0"
Variables ¶
This section is empty.
Functions ¶
func Background ¶
func Background(s ...string) Styling
func BackgroundAttachment ¶
func BackgroundAttachment(s string) Styling
func BackgroundClip ¶
func BackgroundClip(s string) Styling
func BackgroundColor ¶
func BackgroundColor(s string) Styling
func BackgroundImage ¶
func BackgroundImage(s string) Styling
func BackgroundOrigin ¶
func BackgroundOrigin(s string) Styling
func BackgroundPosition ¶
func BackgroundPosition(s ...string) Styling
func BackgroundRepeat ¶
func BackgroundRepeat(s string) Styling
func BackgroundSize ¶
func BackgroundSize(s string) Styling
func BorderBottom ¶
func BorderBottom(s ...string) Styling
func BorderBottomColor ¶
func BorderBottomColor(s string) Styling
func BorderBottomStyle ¶
func BorderBottomStyle(s string) Styling
func BorderBottomWidth ¶
func BorderBottomWidth(s string) Styling
func BorderCollapse ¶
func BorderCollapse(s string) Styling
func BorderColor ¶
func BorderColor(s string) Styling
func BorderImage ¶
func BorderImage(s ...string) Styling
func BorderImageOutset ¶
func BorderImageOutset(s string) Styling
func BorderImageRepeat ¶
func BorderImageRepeat(s string) Styling
func BorderImageSlice ¶
func BorderImageSlice(s string) Styling
func BorderImageSource ¶
func BorderImageSource(s string) Styling
func BorderImageWidth ¶
func BorderImageWidth(s string) Styling
func BorderLeft ¶
func BorderLeft(s ...string) Styling
func BorderLeftColor ¶
func BorderLeftColor(s string) Styling
func BorderLeftStyle ¶
func BorderLeftStyle(s string) Styling
func BorderLeftWidth ¶
func BorderLeftWidth(s string) Styling
func BorderRadius ¶
func BorderRadius(s string) Styling
func BorderRight ¶
func BorderRight(s ...string) Styling
func BorderRightColor ¶
func BorderRightColor(s string) Styling
func BorderRightStyle ¶
func BorderRightStyle(s string) Styling
func BorderRightWidth ¶
func BorderRightWidth(s string) Styling
func BorderSpacing ¶
func BorderSpacing(s string) Styling
func BorderStyle ¶
func BorderStyle(s string) Styling
func BorderTopColor ¶
func BorderTopColor(s string) Styling
func BorderTopLeftRadius ¶
func BorderTopLeftRadius(s string) Styling
func BorderTopStyle ¶
func BorderTopStyle(s string) Styling
func BorderTopWidth ¶
func BorderTopWidth(s string) Styling
func BorderWidth ¶
func BorderWidth(s string) Styling
func BoxDecorationBreak ¶
func BoxDecorationBreak(s string) Styling
func CaptionSide ¶
func CaptionSide(s string) Styling
func CounterIncrement ¶
func CounterIncrement(s string) Styling
func CounterReset ¶
func CounterReset(s string) Styling
func EmptyCells ¶
func EmptyCells(s string) Styling
func FontFamily ¶
func FontFamily(s string) Styling
func FontVariant ¶
func FontVariant(s string) Styling
func FontWeight ¶
func FontWeight(s string) Styling
func LetterSpacing ¶
func LetterSpacing(s string) Styling
func LineHeight ¶
func LineHeight(s string) Styling
func ListStyleImage ¶
func ListStyleImage(s string) Styling
func ListStylePosition ¶
func ListStylePosition(s string) Styling
func ListStyleType ¶
func ListStyleType(s string) Styling
func MarginBlock ¶ added in v0.13.59
func MarginBlock(s ...string) Styling
func MarginBottom ¶
func MarginBottom(s string) Styling
func MarginLeft ¶
func MarginLeft(s string) Styling
func MarginRight ¶
func MarginRight(s string) Styling
func OutlineColor ¶
func OutlineColor(s string) Styling
func OutlineStyle ¶
func OutlineStyle(s string) Styling
func OutlineWidth ¶
func OutlineWidth(s string) Styling
func PaddingBottom ¶
func PaddingBottom(s string) Styling
func PaddingLeft ¶
func PaddingLeft(s string) Styling
func PaddingRight ¶
func PaddingRight(s string) Styling
func PaddingTop ¶
func PaddingTop(s string) Styling
func PageBreakAfter ¶
func PageBreakAfter(s string) Styling
func PageBreakBefore ¶
func PageBreakBefore(s string) Styling
func PageBreakInside ¶
func PageBreakInside(s string) Styling
func TableLayout ¶
func TableLayout(s string) Styling
func TextDecoration ¶
func TextDecoration(s string) Styling
func TextDecorationStyle ¶ added in v0.13.57
func TextDecorationStyle(s string) Styling
func TextDecorationThickness ¶ added in v0.13.57
func TextDecorationThickness(s string) Styling
func TextIndent ¶
func TextIndent(s string) Styling
func TextOverflow ¶ added in v0.13.59
func TextOverflow(s string) Styling
func TextTransform ¶
func TextTransform(s string) Styling
func TopHorizontalBottom ¶ added in v0.13.59
func TopRightBottomLeft ¶ added in v0.13.59
func UnicodeBidi ¶
func UnicodeBidi(s string) Styling
func VerticalAlign ¶
func VerticalAlign(s string) Styling
func VerticalHorizontal ¶ added in v0.13.59
func Visibility ¶
func Visibility(s string) Styling
func WhiteSpace ¶
func WhiteSpace(s string) Styling
func WordSpacing ¶
func WordSpacing(s string) Styling
func WritingMode ¶ added in v0.13.59
func WritingMode(s string) Styling
Types ¶
Click to show internal directories.
Click to hide internal directories.