CSS Refrence
CSS Refrence
CSS Refrence
Properties Descriptions
@charset Rule Specifies the character encoding used in the style sheet.
@media Rule Set of styles for different media/devices using the Media Queries.
align-items Set the alignment of items inside the flexible container or in the given window.
all Set all the elements’ values to their initial or inherited values.
animation-duration It defines how long an animation should take to complete one cycle.
animation-fill-mode It defines how styles are applied before and after animation.
animation-iteration-count This specifies the number of times the animation will be repeated.
animation-name This specifies the name of the @keyframes describing the animation.
backface-visibility Decides whether the back face of an element might be visible or not to the user.
background-attachment Sets whether a background image scrolls with the rest of the page or it will be fixed.
background-blend-mode Defines the blending mode of each background layer of the webpage.
background-clip This property defines how far the background color or image should extend.
background-image Set background images for an element, You can set one or more images as well.
border-bottom-left-radius Define the radius of the bottom left corner of the border.
border-bottom-right-radius Define the radius of the right bottom corner of the border of a given element.
border-collapse Set the borders of the cell present inside the table and tells..
border-image-source It specifies the image source which is to be set as the border of an element.
border-image-width Set the width of the border image. It can be set by providing multiple values.
border-left Set the width, style, and color of the left border.
border-radius It is used to round the corners of the outer border edges of an element.
border-right Set the width, style, and color of the right border.
border-top Set the width, style, and color of the top border.
border-top-left-radius It specifies the radius of the top left border corner of an element.
border-top-right-radius It specifies the radius of the top right border corner of an element.
border-style Sets the border line style for all four sides of an element’s border.
border-spacing Set the distance between the borders of neighboring cells in the table.
border-width Set the border line width of all four sides of an element.
box-decoration-break Control the box decoration after the fragmentation of the paragraph.
box-sizing Defines how the user should calculate the total width and height of an element.
caption-side It specifies the position where the table caption is placed. It is used in HTML Tables.
caret-color Set the color of the cursor in inputs, text area, or other editable areas.
clear Specify which side of floating elements are not allowed to float.
column-count Divide a portion of content inside any HTML element into a given number of columns.
column-fill Specify whether the columns will be filled in a balanced manner or not.
columns Set the number of columns and the width of the columns.
column-rule Define the width, style, and color of the rules between the columns.
column-rule-style Set the style of the column rule between the columns on a multi-column layout.
display Define the components(div, hyperlink, heading, etc) are going to be placed on the web page
empty-cells It specifies whether to display the borders or not in the empty cells in a table.
flex-flow It is used to make the flexible item reversible and wrapped if required.
flex-grow Specifies how much the item will grow compared to other items inside that container.
flex-shrink Specifies how much the item will shrink compared to other items inside that container.
flex-wrap It specifies whether flex items are forced into a single line or wrapped onto multiple lines.
font-kerning Control the usage of the Kerning Information that has been stored in the Font
font-size-adjust Adjusts the font size based on the height of the lowercase.
font-style Style the given particular text in a normal, italic, or oblique face from its font family.
font-weight Set the weight or thickness of the font being used with the HTML Text.
grid-auto-columns Specify the size for the columns of implicitly generated grid containers.
grid-auto-flow It specifies exactly how auto-placed items get flowed into the grid.
grid-auto-rows Specify the size for the rows of implicitly generated grid containers.
grid-column Specify a grid item’s size and location within a grid column.
grid-column-end Explains the number of columns an item will span, or on which column line the item will end.
grid-column-gap Set the gap size between the columns in a grid layout.
grid-gap Sets the gap size between the rows and columns in a grid layout.
grid-template-columns Set the number of columns and size of the columns of the grid.
grid-template-rows Set the number of rows and height of the rows in a grid.
hanging-punctuation Pprovides web designers some upper hand over typography on the webpage.
hyphens It defines how the words should be hyphenated to create soft wrap opportunities within words.
justify-content Alignes the flexible containers item when there is available space.
line-height Set the amount of space used for lines, such as in the text.
list-style-image Set images that will be used as the list item marker.
list-style-position Specifies the position of the marker box with respect to the principal block box.
list-style-type It specifies the appearance(such as a disc, character, or custom counter style) of the list item marker.
margin-left Set the width of the margin on the left of the desired element.
object-fit Specify the blending of an element’s background with the element’s parent.
object-position Specifies how an image or video element is positioned with x/y coordinates inside its content box.
order Set the order of each flexible item in relation to other items inside the flexible container.
outline-offset Sets the amount of space between an outline and the edge or border of an element.
page-break-inside Add page breaks inside the element to which it is applied while printing.
perspective-origin Define the position at which the user is looking 3D object i.e. the vanishing point of the 3D object.
pointer-events Specify whether an element show pointer events and whether or not show on the pointer.
quotes Set the quotation mark for quotations used in the sentence.
right Affects the horizontal position of the element as but has no effect on non-positioned elements.
length Find the number of style declarations used for the particular element.
parentRule Return the CSS Rule Object that represents a CSS rule-set that contains a selector and declaration block.
text-align-last Set the last line of the paragraph just before the line break.
text-decoration-color Set the color of decorations(overlines, underlines, and line-throughs) over the text.
text-indent Set the indentation of the first line in each block of text.
text-justify Set the text-align to justify, which spreads the words into a complete and fixed-width line.
text-overflow Specify that some text has overflown and is hidden from view.
top Set the top position of an element. The top property varies with the position of the element.
transition-duration Set the time duration (in seconds or milliseconds) to complete the transition effect.
transition-property Display the change in the property of an element over a specified duration.
user-select It specifies whether the text can be selected by the user or not.
vertical-align Set the vertical alignment of the table box or inline element.
word-break Specify how to break the word when the word reached at end of the line.
word-wrap It breaks long words and wraps them into the next line.
writing-mode Specify whether the lines of text are laid out horizontally or vertically.
z-index Define the order of elements if they overlap with each other.