Adds another selector
Adds another value to a property
Class selector
ID selector
Pseudo-class selector
Applies value to property or variable
Pseudo-element selector
Creates a block
Attribute selector
Declares CSS variable
Delcares a CSS rule
A simple space, descendant selector; elects all tags of a certain type that are descendants of another tag of a certain type
Child selector; elects all tags of a certain type that are child of another tag of a certain type
Adjacent sibling selector; elects all tags of a certain type that is directly after another tag of a certain type
General sibling selector; elects all tags of a certain type that are next to another tag of a certain type
Pixels
Centimeters
Unit relative to parent element
Unit relative to width of viewport
Unit relative to height of viewport
Unit relative to the element's font size
Denotes that an object's style will change over the course of an animation
Imports a foreign stylesheet
Specifies stylesheet charset
Changes style based on the device (screen size, device size, screen orientation etc)
Applies CSS to all HTML elements of a certain tag
tag {
}
Applies CSS to all HTML elements with a specific ID
#id {
}
tag#id {
}
Applies CSS to all HTML elements apart of a specific class
.class {
}
tag.class {
}
Applies CSS to all HTML elements under a specific condition that is denoted in the pseudo-class
:pseudoclass {
}
tag:pseudoclass {
}
Applies CSS to all HTML elements of a certain type that is denoted in the pseudo-element
::pseudoclass {
}
tag::pseudoclass {
}
Allows for mathematical calculations
Returns the smallest size of the parameters entered
Returns the largest size of the parameters entered
Returns RGB color from three integers
Returns RGBA color from three integers
Inserts a variable as a value
Case where mouse hovers over an HTML object
Case where HTML object is of the same language in the parameter
:lang(ita) {
}
Case where HTML object is the nth child of a parent, where n is the parameter
:nth-child(2) {
}
Case where HTML object is a link
Case where HTML object is a visited link
Manages the colour of text
Manages the background colour
Manages the width of the element
Manages the height of the element
Manages the position of the element
Manages the display method of the element
Manages the border settings of the element that contains 3 values
Manages the transparency of the element
manages the maximum width the element can have
Opens a multi line comment
/*This isn't compiled
neither is this line*/
Closes a multi line comment
/*This isn't compiled
neither is this line*/