CSS – hsl() Function
The HSL color value is specified with the hsl() function, which has the following syntax: hsl(hue, saturation, lightness).
The HSL color value is specified with the hsl() function, which has the following syntax: hsl(hue, saturation, lightness).
The max() function uses the largest value, from a comma-separated list of values, as the property value.
The HSLA color value is specified with the hsla() function, which has the following syntax: hsla(hue, saturation, lightness, alpha).
The min() function uses the smallest value, from a comma-separated list of values, as the property value.
The linear-gradient() function sets a linear gradient as the background image.
The radial-gradient() function sets a radial gradient as the background image.
The repeating-linear-gradient() function is used to repeat linear gradients.
The repeating-conic-gradient() function is used to repeat conic gradients.
An RGB color value is specified with the rgb() function, which has the following syntax: rgb(red, green, blue).
The repeating-radial-gradient() function is used to repeat radial gradients.
An RGBA color value is specified with the rgba() function, which has the following syntax: rgba(red, green, blue, alpha).
The var() function is used to create a CSS variable and insert the value into a property.
The currentcolor keyword refers to the value of theĀ color propertyĀ of an element, and can be used to set other properties within the element to the same color.
The @font-face rule allows for the use of fonts other thanĀ āweb-safeā fonts. A font name is defined for the font and then the custom font is pointed to it.
The @import rule allows you to import a style sheet into another style sheet, and must be at the top of the document just after theĀ @charset declaration.
The inherit keyword specifies that a property should inherit its value from its parent. The initial keyword is used to set a property to its default value.
The @keyframes rule defines the animation timeline, which gradually changes from one set of CSS styles to another.
This is a quick reference list of CSS flex properties used to create flex templates and style them for a responsive design.
This is a quick reference list of CSS functions and how they can be used to modify an element’s properties.
This is a quick reference list of CSS grid properties used to create grid templates and style them for a responsive design.