What is CSS 3 ?


 What is CSS 3 ?



What is CSS ?


        Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as HTML. CSS is a cornerstone technology of the World Wide Web, alongside HTML and JavaScript.



What is CSS 3 ?


        CSS3 is the latest evolution of the Cascading Style Sheets language and aims at extending CSS2. 1. It brings a lot of long-awaited novelties, like rounded corners, shadows, gradients, transitions or animations, as well as new layouts like multi-columns, flexible box or grid layouts.CSS3 is the latest evolution of the Cascading Style Sheets language and aims at extending CSS2. 1. It brings a lot of long-awaited novelties, like rounded corners, shadows, gradients, transitions or animations, as well as new layouts like multi-columns, flexible box or grid layouts.


What is The New in CSS 3 :


        Modules and the standardization process:

    CSS Level 2 needed 9 years, from August 2002 to June 2011 to reach the Recommendation status. This was due to the fact that a few secondary features held back the whole specification. In order to accelerate the standardization of non-problematic features, the CSS Working Group of the W3C, in a decision referred as the Beijing doctrine, divided CSS in smaller components called modules . Each of these modules is now an independent part of the language and moves towards standardization at its own pace. While some modules are already W3C Recommendations, other still are early Working Drafts. New modules are also added when new needs are identified.


    
align-content Specifies the alignment of flexible container's items within the flex container.
align-items Specifies the default alignment for items within the flex container.
align-self Specifies the alignment for selected items within the flex container.
animation Specifies the keyframe-based animations.
animation-delay Specifies when the animation will start.
animation-direction Specifies whether the animation should play in reverse on alternate cycles or not.
animation-duration Specifies the number of seconds or milliseconds an animation should take to complete one cycle.
animation-fill-mode Specifies how a CSS animation should apply styles to its target before and after it is executing.
animation-iteration-count Specifies the number of times an animation cycle should be played before stopping.
animation-name Specifies the name of @keyframes defined animations that should be applied to the selected element.
animation-play-state Specifies whether the animation is running or paused.
animation-timing-function Specifies how a CSS animation should progress over the duration of each cycle.
backface-visibility Specifies whether or not the "back" side of a transformed element is visible when facing the user.
backgroundDefines a variety of background properties within one declaration.
background-attachmentSpecify whether the background image is fixed in the viewport or scrolls.
background-clip Specifies the painting area of the background.
background-colorDefines an element's background color.
background-imageDefines an element's background image.
background-origin Specifies the positioning area of the background images.
background-positionDefines the origin of a background image.
background-repeatSpecify whether/how the background image is tiled.
background-size Specifies the size of the background images.
borderSets the width, style, and color for all four sides of an element's border.
border-bottomSets the width, style, and color of the bottom border of an element.
border-bottom-colorSets the color of the bottom border of an element.
border-bottom-left-radius Defines the shape of the bottom-left border corner of an element.
border-bottom-right-radius Defines the shape of the bottom-right border corner of an element.
border-bottom-styleSets the style of the bottom border of an element.
border-bottom-widthSets the width of the bottom border of an element.
border-collapseSpecifies whether table cell borders are connected or separated.
border-colorSets the color of the border on all the four sides of an element.
border-image Specifies how an image is to be used in place of the border styles.
border-image-outset Specifies the amount by which the border image area extends beyond the border box.
border-image-repeat Specifies whether the image-border should be repeated, rounded or stretched.
border-image-slice Specifies the inward offsets of the image-border.
border-image-source Specifies the location of the image to be used as a border.
border-image-width Specifies the width of the image-border.
border-leftSets the width, style, and color of the left border of an element.
border-left-colorSets the color of the left border of an element.
border-left-styleSets the style of the left border of an element.
border-left-widthSets the width of the left border of an element.
border-radius Defines the shape of the border corners of an element.
border-rightSets the width, style, and color of the right border of an element.
border-right-colorSets the color of the right border of an element.
border-right-styleSets the style of the right border of an element.
border-right-widthSets the width of the right border of an element.
border-spacingSets the spacing between the borders of adjacent table cells.
border-styleSets the style of the border on all the four sides of an element.
border-topSets the width, style, and color of the top border of an element.
border-top-colorSets the color of the top border of an element.
border-top-left-radius Defines the shape of the top-left border corner of an element.
border-top-right-radius Defines the shape of the top-right border corner of an element.
border-top-styleSets the style of the top border of an element.
border-top-widthSets the width of the top border of an element.
border-widthSets the width of the border on all the four sides of an element.
bottomSpecify the location of the bottom edge of the positioned element.
box-shadow Applies one or more drop-shadows to the element's box.
box-sizing Alter the default CSS box model.
caption-sideSpecify the position of table's caption.
clearSpecifies the placement of an element in relation to floating elements.
clipDefines the clipping region.
colorSpecify the color of the text of an element.
column-count Specifies the number of columns in a multi-column element.
column-fill Specifies how columns will be filled.
column-gap Specifies the gap between the columns in a multi-column element.
column-rule Specifies a straight line, or "rule", to be drawn between each column in a multi-column element.
column-rule-color Specifies the color of the rules drawn between columns in a multi-column layout.
column-rule-style Specifies the style of the rule drawn between the columns in a multi-column layout.
column-rule-width Specifies the width of the rule drawn between the columns in a multi-column layout.
column-span Specifies how many columns an element spans across in a multi-column layout.
column-width Specifies the optimal width of the columns in a multi-column element.
columns A shorthand property for setting column-width and column-count properties.
contentInserts generated content.
counter-incrementIncrements one or more counter values.
counter-resetCreates or resets one or more counters.
cursorSpecify the type of cursor.
directionDefine the text direction/writing direction.
displaySpecifies how an element is displayed onscreen.
empty-cellsShow or hide borders and backgrounds of empty table cells.
flex Specifies the components of a flexible length.
flex-basis Specifies the initial main size of the flex item.
flex-direction Specifies the direction of the flexible items.
flex-flow A shorthand property for the flex-direction and the flex-wrap properties.
flex-grow Specifies how the flex item will grow relative to the other items inside the flex container.
flex-shrink Specifies how the flex item will shrink relative to the other items inside the flex container.
flex-wrap Specifies whether the flexible items should wrap or not.
floatSpecifies whether or not a box should float.
fontDefines a variety of font properties within one declaration.
font-familyDefines a list of fonts for element.
font-sizeDefines the font size for the text.
font-size-adjust Preserves the readability of text when font fallback occurs.
font-stretch Selects a normal, condensed, or expanded face from a font.
font-styleDefines the font style for the text.
font-variantSpecify the font variant.
font-weightSpecify the font weight of the text.
heightSpecify the height of an element.
justify-content Specifies how flex items are aligned along the main axis of the flex container after any flexible lengths and auto margins have been resolved.
leftSpecify the location of the left edge of the positioned element.
letter-spacingSets the extra spacing between letters.
line-heightSets the height between lines of text.
list-styleDefines the display style for a list and list elements.
list-style-imageSpecifies the image to be used as a list-item marker.
list-style-positionSpecifies the position of the list-item marker.
list-style-typeSpecifies the marker style for a list-item.
marginSets the margin on all four sides of the element.
margin-bottomSets the bottom margin of the element.
margin-leftSets the left margin of the element.
margin-rightSets the right margin of the element.
margin-topSets the top margin of the element.
max-heightSpecify the maximum height of an element.
max-widthSpecify the maximum width of an element.
min-heightSpecify the minimum height of an element.
min-widthSpecify the minimum width of an element.
opacity Specifies the transparency of an element.
order Specifies the order in which a flex items are displayed and laid out within a flex container.
outlineSets the width, style, and color for all four sides of an element's outline.
outline-colorSets the color of the outline.
outline-offset Set the space between an outline and the border edge of an element.
outline-styleSets a style for an outline.
outline-widthSets the width of the outline.
overflowSpecifies the treatment of content that overflows the element's box.
overflow-x Specifies the treatment of content that overflows the element's box horizontally.
overflow-y Specifies the treatment of content that overflows the element's box vertically.
paddingSets the padding on all four sides of the element.
padding-bottomSets the padding to the bottom side of an element.
padding-leftSets the padding to the left side of an element.
padding-rightSets the padding to the right side of an element.
padding-topSets the padding to the top side of an element.
page-break-afterInsert a page breaks after an element.
page-break-beforeInsert a page breaks before an element.
page-break-insideInsert a page breaks inside an element.
perspective Defines the perspective from which all child elements of the object are viewed.
perspective-origin Defines the origin (the vanishing point for the 3D space) for the perspective property.
positionSpecifies how an element is positioned.
quotesSpecifies quotation marks for embedded quotations.
resize Specifies whether or not an element is resizable by the user.
rightSpecify the location of the right edge of the positioned element.
tab-size Specifies the length of the tab character.
table-layoutSpecifies a table layout algorithm.
text-alignSets the horizontal alignment of inline content.
text-align-last Specifies how the last line of a block or a line right before a forced line break is aligned when text-align is justify.
text-decorationSpecifies the decoration added to text.
text-decoration-color Specifies the color of the text-decoration-line.
text-decoration-line Specifies what kind of line decorations are added to the element.
text-decoration-style Specifies the style of the lines specified by the text-decoration-line property
text-indentIndent the first line of text.
text-justify Specifies the justification method to use when the text-align property is set to justify.
text-overflow Specifies how the text content will be displayed, when it overflows the block containers.
text-shadow Applies one or more shadows to the text content of an element.
text-transformTransforms the case of the text.
topSpecify the location of the top edge of the positioned element.
transform Applies a 2D or 3D transformation to an element.
transform-origin Defines the origin of transformation for an element.
transform-style Specifies how nested elements are rendered in 3D space.
transition Defines the transition between two states of an element.
transition-delay Specifies when the transition effect will start.
transition-duration Specifies the number of seconds or milliseconds a transition effect should take to complete.
transition-property Specifies the names of the CSS properties to which a transition effect should be applied.
transition-timing-function Specifies the speed curve of the transition effect.
vertical-alignSets the vertical positioning of an element relative to the current text baseline.
visibilitySpecifies whether or not an element is visible.
white-spaceSpecifies how white space inside the element is handled.
widthSpecify the width of an element.
word-break Specifies how to break lines within words.
word-spacingSets the spacing between words.
word-wrap Specifies whether to break words when the content overflows the boundaries of its container.
z-indexSpecifies a layering or stacking order for positioned elements.


The Reference => Click Here

The Reference => Click Here