CSS - Properties Flashcards
Questions
Answers
accelerator
Specifies whether or not the element has an accelerator key, which is a shortcut for selecting the element.
azimuth
Specifies the speaker balance for audio content.
background
Defines the background properties for an element.
background-attachment
Specifies whether or not the background image is fixed or scrollable as a user scrolls the document.
background-color
Specifies the background color for the element. Specify either a color name or RGB color code.
background-image
Specifies the URL for a background image for an element.
background-position
Specifies the position of a background image for an element.
background-position-x
Specifies the x-position of a background image for an element.
background-position-y
Specifies the y-position of a background image for an element.
background-repeat
Specifies how a background image repeats for an element.
border
Defines the border properties for an element.
border-bottom
Defines the properties for the bottom border for the element.
border-bottom-color
Specifies the color for a bottom border. Specify either a color name or RGB color code.
border-bottom-style
Specifies a style for a bottom border.
border-bottom-width
Specifies the width of the bottom border.
border-collapse
Specifies whether the borders for an element are collapsed or separated.
border-color
Specifies the color for the borders for an element. Specify either a color name or RGB color code.
border-left
Defines the properties for the left border for the element.
border-left-color
Specifies the color for a left border. Specify either a color name or RGB color code.
border-left-style
Specifies a style for a left border.
border-left-width
Specifies the width of the left border.
border-right
Defines the properties for the right border for the element.
border-right-color
Specifies the color for a right border. Specify either a color name or RGB color code.
border-right-style
Specifies a style for a right border.
border-right-width
Specifies the width of the right border.
border-spacing
Specifies the number of pixels between the border and its contents.
border-style
Specifies a style for a border.
border-top
Defines the properties for the top border for the element.
border-top-color
Specifies the color for a top border. Specify either a color name or RGB color code.
border-top-style
Specifies a style for a top border.
border-top-width
Specifies the width of the top border.
border-width
Specifies the width of the border.
bottom
Specifies the y-coordinate for the position of the element relative to the bottom edge of the parent element or browser window.
caption-side
Specifies the position of a caption for the element.
clear
Specifies the position of the element relative to a floating object on the page.
clip
Specifies the x- and y-coordinates (in pixels) for the clipping rectangle around the element.
color
Specifies the color of the text for the element. Specify either a color name or RGB color code.
content
Specifies the content to insert before or after the element.
counter-increment
Specifies a name of a counter and how much to increment the counter by.
counter-reset
Resets a counter to the specified value.
cue
Defines the properties for an aural cue before or after an element.
cue-after
Defines the properties for an aural cue after an element.
cue-before
Defines the properties for an aural cue before an element.
cursor
Specifies which cursor to display when a user mouses over the element.
direction
Specifies the text direction for the element.
display
Specifies how to display the element.
elevation
Specifies the elevation of the element. You can either one of the relative elevations or specify an angle in degrees.
empty-cells
Specifies whether to show or hide borders for empty table cells.
filter
Specifies a filter for the element to render and any parameters that the filter takes. You can specify multiple filters.
float
Specifies if an element should float towards the left or right margin of its parent element or web browser.
font
Defines the properties for the font for the element.
font-family
Specifies the font face for the element.
font-size
Specifies either the explicit or relative size of the font compared to the base font size.
font-size-adjust
Specifies the adjustment to make in font size if an explicitly specified font is unavailable.
font-stretch
Specifies how a font should be condensed or stretched.
font-style
Specifies a style for a font (e.g. italic).
font-variant
Specifies a variation for a font (e.g. small-caps).
font-weight
Specifies the weight of a font (e.g. bold).
height
Specifies the height (in pixels, points, or as a percentage) of the content of the element.
ime-mode
Specifies the state of the Input Method Editor (IME) for the element, which allows users to enter and edit Chinese, Japanese, and Korean characters.
layout-flow
Specifies the flow direction for the content of the element.
layout-grid
Defines the set of layout-grid properties for an element.
layout-grid-char
Specifies the size of a character grid for the content of an element.
layout-grid-line
Specifies the grid line value for the text content of an element.
layout-grid-mode
Specifies if the element text layout grid uses the line and/or char mode.
layout-grid-type
Specifies the type of layout grid for the content of an element.
left
Specifies the x-coordinate for the position of the element relative to the left edge of the parent element or browser window.
letter-spacing
Specifies the amount of space (in points or pixels) between letters in the text of the element.
line-break
Specifies line-breaking rules for Japanese text.
line-height
Specifies line height of text in multiline elements, such as paragraphs.