Variable: css-value-class-alist

css-value-class-alist is a variable defined in css-mode.el.gz.

Value

Large value
((absolute-size "xx-small" "x-small" "small" "medium" "large"
		"x-large" "xx-large")
 (alphavalue number) (angle "calc()")
 (animateable-feature "scroll-position" "contents" custom-ident)
 (attachment "scroll" "fixed" "local") (auto-repeat "repeat()")
 (auto-track-list line-names fixed-size fixed-repeat auto-repeat)
 (basic-shape "inset()" "circle()" "ellipse()" "polygon()")
 (bg-image image "none")
 (bg-layer bg-image position repeat-style attachment box)
 (bg-size length percentage "auto" "cover" "contain")
 (box "border-box" "padding-box" "content-box") (clip-source uri)
 (color "rgb()" "rgba()" "hsl()" "hsla()" named-color "transparent"
	"currentColor")
 (common-lig-values "common-ligatures" "no-common-ligatures")
 (compositing-operator "add" "subtract" "intersect" "exclude")
 (contextual-alt-values "contextual" "no-contextual")
 (counter "counter()" "counters()")
 (discretionary-lig-values "discretionary-ligatures"
			   "no-discretionary-ligatures")
 (east-asian-variant-values "jis78" "jis83" "jis90" "jis04"
			    "simplified" "traditional")
 (east-asian-width-values "full-width" "proportional-width")
 (explicit-track-list line-names track-size)
 (family-name "Courier" "Helvetica" "Times")
 (feature-tag-value string integer "on" "off")
 (filter-function "blur()" "brightness()" "contrast()" "drop-shadow()"
		  "grayscale()" "hue-rotate()" "invert()" "opacity()"
		  "sepia()" "saturate()")
 (filter-function-list filter-function uri)
 (final-bg-layer bg-image position repeat-style attachment box color)
 (fixed-breadth length-percentage) (fixed-repeat "repeat()")
 (fixed-size fixed-breadth "minmax()")
 (font-variant-css21 "normal" "small-caps") (frequency "calc()")
 (generic-family "serif" "sans-serif" "cursive" "fantasy" "monospace")
 (generic-voice "male" "female" "child")
 (geometry-box shape-box "fill-box" "stroke-box" "view-box")
 (gradient linear-gradient radial-gradient repeating-linear-gradient
	   repeating-radial-gradient)
 (grid-line "auto" custom-ident integer "span")
 (historical-lig-values "historical-ligatures"
			"no-historical-ligatures")
 (image uri image-list element-reference gradient)
 (image-list "image()")
 (inflexible-breadth length-percentage "min-content" "max-content"
		     "auto")
 (integer "calc()") (length "calc()" number)
 (line-height "normal" number length percentage)
 (line-names custom-ident)
 (line-style "none" "hidden" "dotted" "dashed" "solid" "double"
	     "groove" "ridge" "inset" "outset")
 (line-width length "thin" "medium" "thick")
 (linear-gradient "linear-gradient()")
 (margin-width "auto" length percentage)
 (mask-layer mask-reference masking-mode position bg-size repeat-style
	     geometry-box "no-clip" compositing-operator)
 (mask-reference "none" image mask-source) (mask-source uri)
 (masking-mode "alpha" "luminance" "auto")
 (named-color "black" "silver" "gray" "white" "maroon" "red" "purple"
	      "fuchsia" "magenta" "green" "lime" "olive" "yellow"
	      "navy" "blue" "teal" "aqua" "cyan" "orange" "aliceblue"
	      "antiquewhite" "aquamarine" "azure" "beige" "bisque"
	      "blanchedalmond" "blueviolet" "brown" "burlywood"
	      "cadetblue" "chartreuse" "chocolate" "coral"
	      "cornflowerblue" "cornsilk" "crimson" "darkblue"
	      "darkcyan" "darkgoldenrod" "darkgray" "darkgreen"
	      "darkgrey" "darkkhaki" "darkmagenta" "darkolivegreen"
	      "darkorange" "darkorchid" "darkred" "darksalmon"
	      "darkseagreen" "darkslateblue" "darkslategray"
	      "darkslategrey" "darkturquoise" "darkviolet" "deeppink"
	      "deepskyblue" "dimgray" "dimgrey" "dodgerblue"
	      "firebrick" "floralwhite" "forestgreen" "gainsboro"
	      "ghostwhite" "gold" "goldenrod" "greenyellow" "grey"
	      "honeydew" "hotpink" "indianred" "indigo" "ivory"
	      "khaki" "lavender" "lavenderblush" "lawngreen"
	      "lemonchiffon" "lightblue" "lightcoral" "lightcyan"
	      "lightgoldenrodyellow" "lightgray" "lightgreen"
	      "lightgrey" "lightpink" "lightsalmon" "lightseagreen"
	      "lightskyblue" "lightslategray" "lightslategrey"
	      "lightsteelblue" "lightyellow" "limegreen" "linen"
	      "mediumaquamarine" "mediumblue" "mediumorchid"
	      "mediumpurple" "mediumseagreen" "mediumslateblue"
	      "mediumspringgreen" "mediumturquoise" "mediumvioletred"
	      "midnightblue" "mintcream" "mistyrose" "moccasin"
	      "navajowhite" "oldlace" "olivedrab" "orangered" "orchid"
	      "palegoldenrod" "palegreen" "paleturquoise"
	      "palevioletred" "papayawhip" "peachpuff" "peru" "pink"
	      "plum" "powderblue" "rosybrown" "royalblue"
	      "saddlebrown" "salmon" "sandybrown" "seagreen"
	      "seashell" "sienna" "skyblue" "slateblue" "slategray"
	      "slategrey" "snow" "springgreen" "steelblue" "tan"
	      "thistle" "tomato" "turquoise" "violet" "wheat"
	      "whitesmoke" "yellowgreen" "rebeccapurple")
 (number "calc()")
 (numeric-figure-values "lining-nums" "oldstyle-nums")
 (numeric-fraction-values "diagonal-fractions" "stacked-fractions")
 (numeric-spacing-values "proportional-nums" "tabular-nums")
 (padding-width length percentage)
 (position "left" "center" "right" "top" "bottom" percentage length)
 (baseline-position "left" "right" "baseline")
 (content-distribution "space-between" "space-around" "space-evenly"
		       "stretch")
 (overflow-position "unsafe" "safe")
 (content-position "center" "start" "end" "flex-start" "flex-end")
 (self-position "center" "start" "end" "self-start" "self-end"
		"flex-start" "flex-end")
 (radial-gradient "radial-gradient()")
 (relative-size "larger" "smaller")
 (repeat-style "repeat-x" "repeat-y" "repeat" "space" "round"
	       "no-repeat")
 (repeating-linear-gradient "repeating-linear-gradient()")
 (repeating-radial-gradient "repeating-radial-gradient()")
 (shadow "inset" length color) (shape-box box "margin-box")
 (single-animation-direction "normal" "reverse" "alternate"
			     "alternate-reverse")
 (single-animation-fill-mode "none" "forwards" "backwards" "both")
 (single-animation-iteration-count "infinite" number)
 (single-animation-name "none" identifier)
 (single-animation-play-state "running" "paused")
 (single-timing-function single-transition-timing-function)
 (single-transition "none" single-transition-property time
		    single-transition-timing-function)
 (single-transition-property "all" identifier)
 (single-transition-timing-function "ease" "linear" "ease-in"
				    "ease-out" "ease-in-out"
				    "step-start" "step-end" "steps()"
				    "cubic-bezier()")
 (specific-voice identifier) (target-name string) (time "calc()")
 (track-breadth length-percentage flex "min-content" "max-content"
		"auto")
 (track-list line-names track-size track-repeat)
 (track-repeat "repeat()")
 (track-size track-breadth "minmax()" "fit-content()")
 (transform-list "matrix()" "translate()" "translateX()"
		 "translateY()" "scale()" "scaleX()" "scaleY()"
		 "rotate()" "skew()" "skewX()" "skewY()" "matrix3d()"
		 "translate3d()" "translateZ()" "scale3d()" "scaleZ()"
		 "rotate3d()" "rotateX()" "rotateY()" "rotateZ()"
		 "perspective()")
 (uri "url()") (width length percentage "auto") (x number) (y number))

Documentation

Property value classes and their values.

The format is similar to that of css-property-alist, except that the CARs aren't actual CSS properties, but rather a name for a class of values, and that symbols in the CDRs always refer to other entries in this list, not to properties.

The following classes have been left out above because they cannot be completed sensibly: custom-ident, element-reference, flex, id, identifier, length-percentage, percentage, and string.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/css-mode.el.gz
(defconst css-value-class-alist
  `((absolute-size
     "xx-small" "x-small" "small" "medium" "large" "x-large"
     "xx-large")
    (alphavalue number)
    (angle "calc()")
    (animateable-feature "scroll-position" "contents" custom-ident)
    (attachment "scroll" "fixed" "local")
    (auto-repeat "repeat()")
    (auto-track-list line-names fixed-size fixed-repeat auto-repeat)
    (basic-shape "inset()" "circle()" "ellipse()" "polygon()")
    (bg-image image "none")
    (bg-layer bg-image position repeat-style attachment box)
    (bg-size length percentage "auto" "cover" "contain")
    (box "border-box" "padding-box" "content-box")
    (clip-source uri)
    (color
     "rgb()" "rgba()" "hsl()" "hsla()" named-color "transparent"
     "currentColor")
    (common-lig-values "common-ligatures" "no-common-ligatures")
    (compositing-operator "add" "subtract" "intersect" "exclude")
    (contextual-alt-values "contextual" "no-contextual")
    (counter "counter()" "counters()")
    (discretionary-lig-values
     "discretionary-ligatures" "no-discretionary-ligatures")
    (east-asian-variant-values
     "jis78" "jis83" "jis90" "jis04" "simplified" "traditional")
    (east-asian-width-values "full-width" "proportional-width")
    (explicit-track-list line-names track-size)
    (family-name "Courier" "Helvetica" "Times")
    (feature-tag-value string integer "on" "off")
    (filter-function
     "blur()" "brightness()" "contrast()" "drop-shadow()"
     "grayscale()" "hue-rotate()" "invert()" "opacity()" "sepia()"
     "saturate()")
    (filter-function-list filter-function uri)
    (final-bg-layer
     bg-image position repeat-style attachment box color)
    (fixed-breadth length-percentage)
    (fixed-repeat "repeat()")
    (fixed-size fixed-breadth "minmax()")
    (font-variant-css21 "normal" "small-caps")
    (frequency "calc()")
    (generic-family
     "serif" "sans-serif" "cursive" "fantasy" "monospace")
    (generic-voice "male" "female" "child")
    (geometry-box shape-box "fill-box" "stroke-box" "view-box")
    (gradient
     linear-gradient radial-gradient repeating-linear-gradient
     repeating-radial-gradient)
    (grid-line "auto" custom-ident integer "span")
    (historical-lig-values
     "historical-ligatures" "no-historical-ligatures")
    (image uri image-list element-reference gradient)
    (image-list "image()")
    (inflexible-breadth length-percentage "min-content" "max-content"
                        "auto")
    (integer "calc()")
    (length "calc()" number)
    (line-height "normal" number length percentage)
    (line-names custom-ident)
    (line-style
     "none" "hidden" "dotted" "dashed" "solid" "double" "groove"
     "ridge" "inset" "outset")
    (line-width length "thin" "medium" "thick")
    (linear-gradient "linear-gradient()")
    (margin-width "auto" length percentage)
    (mask-layer
     mask-reference masking-mode position bg-size repeat-style
     geometry-box "no-clip" compositing-operator)
    (mask-reference "none" image mask-source)
    (mask-source uri)
    (masking-mode "alpha" "luminance" "auto")
    (named-color . ,(mapcar #'car css--color-map))
    (number "calc()")
    (numeric-figure-values "lining-nums" "oldstyle-nums")
    (numeric-fraction-values "diagonal-fractions" "stacked-fractions")
    (numeric-spacing-values "proportional-nums" "tabular-nums")
    (padding-width length percentage)
    (position
     "left" "center" "right" "top" "bottom" percentage length)
    (baseline-position "left" "right" "baseline")
    (content-distribution
     "space-between" "space-around" "space-evenly" "stretch")
    (overflow-position "unsafe" "safe")
    (content-position "center" "start" "end" "flex-start" "flex-end")
    (self-position
     "center" "start" "end" "self-start" "self-end" "flex-start" "flex-end")
    (radial-gradient "radial-gradient()")
    (relative-size "larger" "smaller")
    (repeat-style
     "repeat-x" "repeat-y" "repeat" "space" "round" "no-repeat")
    (repeating-linear-gradient "repeating-linear-gradient()")
    (repeating-radial-gradient "repeating-radial-gradient()")
    (shadow "inset" length color)
    (shape-box box "margin-box")
    (single-animation-direction
     "normal" "reverse" "alternate" "alternate-reverse")
    (single-animation-fill-mode "none" "forwards" "backwards" "both")
    (single-animation-iteration-count "infinite" number)
    (single-animation-name "none" identifier)
    (single-animation-play-state "running" "paused")
    (single-timing-function single-transition-timing-function)
    (single-transition
     "none" single-transition-property time
     single-transition-timing-function)
    (single-transition-property "all" identifier)
    (single-transition-timing-function
     "ease" "linear" "ease-in" "ease-out" "ease-in-out" "step-start"
     "step-end" "steps()" "cubic-bezier()")
    (specific-voice identifier)
    (target-name string)
    (time "calc()")
    (track-breadth length-percentage flex "min-content" "max-content"
                   "auto")
    (track-list line-names track-size track-repeat)
    (track-repeat "repeat()")
    (track-size track-breadth "minmax()" "fit-content()")
    (transform-list
     "matrix()" "translate()" "translateX()" "translateY()" "scale()"
     "scaleX()" "scaleY()" "rotate()" "skew()" "skewX()" "skewY()"
     "matrix3d()" "translate3d()" "translateZ()" "scale3d()"
     "scaleZ()" "rotate3d()" "rotateX()" "rotateY()" "rotateZ()"
     "perspective()")
    (uri "url()")
    (width length percentage "auto")
    (x number)
    (y number))
  "Property value classes and their values.
The format is similar to that of `css-property-alist', except
that the CARs aren't actual CSS properties, but rather a name for
a class of values, and that symbols in the CDRs always refer to
other entries in this list, not to properties.

The following classes have been left out above because they
cannot be completed sensibly: `custom-ident',
`element-reference', `flex', `id', `identifier',
`length-percentage', `percentage', and `string'.")