2015
30 featuresThe background CSS property is a shorthand that sets several background properties at once.
The background-color CSS property sets the fill color of an element, behind any content and background images or gradients.
The window.history API manipulates the browser session history, from navigations to state management, in the tab or frame that the current page is loaded in.
The content CSS property sets the content inside of an element or pseudo-element, replacing the current value. It's often used with the ::before and ::after pseudo-elements to generate cosmetic content.
The setInterval() global function repeatedly executes provided code on a given delay, and the accompanying clearInterval() cancels the interval.
The setTimeout() global function executes provided code after a given duration of time, and the accompanying clearTimeout() cancels the timer.
The box-sizing CSS property sets whether an element's width and height are calculated based on the content-box, which does not count the size of borders or padding, or border-box, which does count them.
The width and height CSS properties set the preferred physical size of an element.
The text-overflow CSS property sets how hidden overflow content appears to users. The property can clip content, truncate content with an ellipsis (…), or truncate with a custom string.
The position: absolute CSS declaration removes an element from the normal flow and positions it relative to its containing block, which is often the root element, or closest positioned ancestor.
The position: fixed CSS declaration removes an element from the normal flow and positions it relative to the viewport or page.
The physical CSS properties, top, right, bottom, and left, set the inset position of an element relative to the corresponding side of a container determined by the element's position property.
The position CSS property sets the origin position of an element to an element, the element's scrollport, or the viewport.
The position: relative CSS declaration offsets the position of an element relative to its position in the normal flow.
The position: static CSS declaration positions an element in the normal flow. A statically positioned element ignores physical and logical properties such as top or inset-block-start.
The ::before and ::after CSS pseudo-elements select inline boxes preceding and following an element. They are often used with the content property to generate cosmetic content.
The ::first-letter CSS pseudo-element selects the first letter in an element for styling.
The ::first-line CSS pseudo-element selects the first line of text in an element for styling.
The counter-reset and counter-increment CSS properties and the counter() and counters() functions automatically number headings or ordered list items.
The list-style shorthand CSS property and the list-style-image, list-style-position, and list-style-type longhand properties set the position and appearance of a list item's marker.
The margin CSS property sets space around an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.
The padding CSS property sets space between an element's edge and its contents. It is a shorthand for padding-top, padding-right, padding-bottom, and padding-left.
The inherit keyword resets any CSS property to the computed value of that property from the parent element.
The border-radius CSS property rounds the corners of the border drawn around an element.
The border CSS property sets the color, style, and width of the line around an element.
The font CSS property shorthand sets multiple font properties, including style, weight, size, and font family.
The font-family CSS property sets the desired font face for text, along with optional fallback font faces.
The font-size CSS property sets the text height.
The font-style CSS property sets the text style, with normal, italic, and oblique options.
The font-weight CSS property controls the thickness of a font. It is set explicitly with the keyword bold or a number, or relative to the inherited thickness with the keywords bolder or lighter.