Sunday, 28 June 2015

CSS ALL PROPERTY GROUP WISE

                                      CSS ALL PROPERTY GROUP WISE

CSS Properties

CSS Property Groups


The "CSS" column indicates in which CSS version the property is defined (CSS1, CSS2, or CSS3).

Color Properties

PropertyDescriptionCSS
colorSets the color of text1
opacitySets the opacity level for an element3

Background and Border Properties

PropertyDescriptionCSS
backgroundA shorthand property for setting all the background properties in one declaration1
background-attachmentSets whether a background image is fixed or scrolls with the rest of the page1
background-colorSpecifies the background color of an element1
background-imageSpecifies one or more background images for an element1
background-positionSpecifies the position of a background image1
background-repeatSets how a background image will be repeated1
background-clipSpecifies the painting area of the background3
background-originSpecifies where the background image(s) is/are positioned3
background-sizeSpecifies the size of the background image(s)3
borderSets all the border properties in one declaration1
border-bottomSets all the bottom border properties in one declaration1
border-bottom-colorSets the color of the bottom border
border-bottom-left-radiusDefines the shape of the border of the bottom-left corner3
border-bottom-right-radiusDefines the shape of the border of the bottom-right corner3
border-bottom-styleSets the style of the bottom border1
border-bottom-widthSets the width of the bottom border1
border-colorSets the color of the four borders1
border-imageA shorthand property for setting all the border-image-* properties3
border-image-outsetSpecifies the amount by which the border image area extends beyond the border box3
border-image-repeatSpecifies whether the border image should be repeated, rounded or stretched3
border-image-sliceSpecifies how to slice the border image3
border-image-sourceSpecifies the path to the image to be used as a border3
border-image-widthSpecifies the widths of the image-border3
border-leftSets all the left border properties in one declaration1
border-left-colorSets the color of the left border1
border-left-styleSets the style of the left border1
border-left-widthSets the width of the left border1
border-radiusA shorthand property for setting all the four border-*-radius properties3
border-rightSets all the right border properties in one declaration1
border-right-colorSets the color of the right border1
border-right-styleSets the style of the right border1
border-right-widthSets the width of the right border1
border-styleSets the style of the four borders1
border-topSets all the top border properties in one declaration1
border-top-colorSets the color of the top border1
border-top-left-radiusDefines the shape of the border of the top-left corner3
border-top-right-radiusDefines the shape of the border of the top-right corner3
border-top-styleSets the style of the top border1
border-top-widthSets the width of the top border1
border-widthSets the width of the four borders1
box-decoration-breakSets the behaviour of the background and border of an element at page-break, or, for in-line elements, at line-break.3
box-shadowAttaches one or more drop-shadows to the box3

Basic Box Properties

PropertyDescriptionCSS
bottomSpecifies the bottom position of a positioned element2
clearSpecifies which sides of an element where other floating elements are not allowed1
clipClips an absolutely positioned element2
displaySpecifies how a certain HTML element should be displayed1
floatSpecifies whether or not a box should float1
heightSets the height of an element1
leftSpecifies the left position of a positioned element2
marginSets all the margin properties in one declaration1
margin-bottomSets the bottom margin of an element1
margin-leftSets the left margin of an element1
margin-rightSets the right margin of an element1
margin-topSets the top margin of an element1
max-heightSets the maximum height of an element2
max-widthSets the maximum width of an element2
min-heightSets the minimum height of an element2
min-widthSets the minimum width of an element2
overflowSpecifies what happens if content overflows an element's box2
overflow-xSpecifies whether or not to clip the left/right edges of the content, if it overflows the element's content area3
overflow-ySpecifies whether or not to clip the top/bottom edges of the content, if it overflows the element's content area3
paddingSets all the padding properties in one declaration1
padding-bottomSets the bottom padding of an element1
padding-leftSets the left padding of an element1
padding-rightSets the right padding of an element1
padding-topSets the top padding of an element1
positionSpecifies the type of positioning method used for an element (static, relative, absolute or fixed)2
rightSpecifies the right position of a positioned element2
topSpecifies the top position of a positioned element2
visibilitySpecifies whether or not an element is visible2
widthSets the width of an element1
vertical-alignSets the vertical alignment of an element1
z-indexSets the stack order of a positioned element2

Flexible Box Layout

PropertyDescriptionCSS
align-contentSpecifies the alignment between the lines inside a flexible container when the items do not use all available space3
align-itemsSpecifies the alignment for items inside a flexible container3
align-selfSpecifies the alignment for selected items inside a flexible container3
flexSpecifies the length of the item, relative to the rest3
flex-basisSpecifies the initial length of a flexible item3
flex-directionSpecifies the direction of the flexible items3
flex-flowA shorthand property for the flex-direction and the flex-wrap properties3
flex-growSpecifies how much the item will grow relative to the rest3
flex-shrinkSpecifies how the item will shrink relative to the rest3
flex-wrapSpecifies whether the flexible items should wrap or not3
justify-contentSpecifies the alignment between the items inside a flexible container when the items do not use all available space3
orderSets the order of the flexible item, relative to the rest3

Text Properties

PropertyDescriptionCSS
hanging-punctuationSpecifies whether a punctuation character may be placed outside the line box3
hyphensSets how to split words to improve the layout of paragraphs3
letter-spacingIncreases or decreases the space between characters in a text1
line-breakSpecifies how/if to break lines3
line-heightSets the line height1
overflow-wrapSpecifies whether or not the browser may break lines within words in order to prevent overflow (when a string is too long to fit its containing box)3
tab-sizeSpecifies the length of the tab-character3
text-alignSpecifies the horizontal alignment of text1
text-align-lastDescribes how the last line of a block or a line right before a forced line break is aligned when text-align is "justify"3
text-combine-uprightSpecifies the combination of multiple characters into the space of a single character3
text-indentSpecifies the indentation of the first line in a text-block1
text-justifySpecifies the justification method used when text-align is "justify"3
text-transformControls the capitalization of text1
white-spaceSpecifies how white-space inside an element is handled1
word-breakSpecifies line breaking rules for non-CJK scripts3
word-spacingIncreases or decreases the space between words in a text1
word-wrapAllows long, unbreakable words to be broken and wrap to the next line3

Text Decoration Properties

PropertyDescriptionCSS
text-decorationSpecifies the decoration added to text1
text-decoration-colorSpecifies the color of the text-decoration3
text-decoration-lineSpecifies the type of line in a text-decoration3
text-decoration-styleSpecifies the style of the line in a text decoration3
text-shadowAdds shadow to text3
text-underline-positionSpecifies the position of the underline which is set using the text-decoration property3

Font Properties

PropertyDescriptionCSS
@font-faceA rule that allows websites to download and use fonts other than the "web-safe" fonts3
@font-feature-valuesAllows authors to use a common name in font-variant-alternate for feature activated differently in OpenType3
fontSets all the font properties in one declaration1
font-familySpecifies the font family for text1
font-feature-settingsAllows control over advanced typographic features in OpenType fonts3
font-kerningControls the usage of the kerning information (how letters are spaced)3
font-language-overrideControls the usage of language-specific glyphs in a typeface3
font-sizeSpecifies the font size of text1
font-size-adjustPreserves the readability of text when font fallback occurs3
font-stretchSelects a normal, condensed, or expanded face from a font family3
font-styleSpecifies the font style for text1
font-synthesisControls which missing typefaces (bold or italic) may be synthesized by the browser3
font-variantSpecifies whether or not a text should be displayed in a small-caps font1
font-variant-alternatesControls the usage of alternate glyphs associated to alternative names defined in @font-feature-values3
font-variant-capsControls the usage of alternate glyphs for capital letters3
font-variant-east-asianControls the usage of alternate glyphs for East Asian scripts (e.g Japanese and Chinese)3
font-variant-ligaturesControls which ligatures and contextual forms are used in textual content of the elements it applies to3
font-variant-numericControls the usage of alternate glyphs for numbers, fractions, and ordinal markers3
font-variant-positionControls the usage of alternate glyphs of smaller size positioned as superscript or subscript regarding the baseline of the font3
font-weightSpecifies the weight of a font1

Writing Modes Properties

PropertyDescriptionCSS
directionSpecifies the text direction/writing direction2
text-orientationDefines the orientation of the text in a line3
text-combine-uprightSpecifies the combination of multiple characters into the space of a single character3
unicode-bidiUsed together with the direction property to set or return whether the text should be overridden to support multiple languages in the same document2
writing-mode3

Table Properties

PropertyDescriptionCSS
border-collapseSpecifies whether or not table borders should be collapsed2
border-spacingSpecifies the distance between the borders of adjacent cells2
caption-sideSpecifies the placement of a table caption2
empty-cellsSpecifies whether or not to display borders and background on empty cells in a table2
table-layoutSets the layout algorithm to be used for a table2

Lists and Counters Properties

PropertyDescriptionCSS
counter-incrementIncrements one or more counters2
counter-resetCreates or resets one or more counters2
list-styleSets all the properties for a list in one declaration1
list-style-imageSpecifies an image as the list-item marker1
list-style-positionSpecifies if the list-item markers should appear inside or outside the content flow1
list-style-typeSpecifies the type of list-item marker1

Animation Properties

PropertyDescriptionCSS
@keyframesSpecifies the animation code3
animationA shorthand property for all the animation properties (except animation-play-state and animation-fill-mode)3
animation-delaySpecifies a delay for the start of an animation3
animation-directionSpecifies whether or not the animation should play in reverse on alternate cycles3
animation-durationSpecifies how many seconds or milliseconds an animation takes to complete one cycle3
animation-fill-modeSpecifies a style for the element when the animation is not playing (when it is finished, or when it has a delay)3
animation-iteration-countSpecifies the number of times an animation should be played3
animation-nameSpecifies the name of the @keyframes animation3
animation-play-stateSpecifies whether the animation is running or paused3
animation-timing-functionSpecifies the speed curve of an animation3

Transform Properties

PropertyDescriptionCSS
backface-visibilityDefines whether or not an element should be visible when not facing the screen3
perspectiveSpecifies the perspective on how 3D elements are viewed3
perspective-originSpecifies the bottom position of 3D elements3
transformApplies a 2D or 3D transformation to an element3
transform-originAllows you to change the position on transformed elements3
transform-styleSpecifies how nested elements are rendered in 3D space3

Transitions Properties

PropertyDescriptionCSS
transitionA shorthand property for setting the four transition properties3
transition-propertySpecifies the name of the CSS property the transition effect is for3
transition-durationSpecifies how many seconds or milliseconds a transition effect takes to complete3
transition-timing-functionSpecifies the speed curve of the transition effect3
transition-delaySpecifies when the transition effect will start3

Basic User Interface Properties

PropertyDescriptionCSS
box-sizingTells the browser what the sizing properties (width and height) should include3
contentUsed with the :before and :after pseudo-elements, to insert generated content2
cursorSpecifies the type of cursor to be displayed2
ime-modeControls the state of the input method editor for text fields3
nav-downSpecifies where to navigate when using the arrow-down navigation key3
nav-indexSpecifies the tabbing order for an element3
nav-leftSpecifies where to navigate when using the arrow-left navigation key3
nav-rightSpecifies where to navigate when using the arrow-right navigation key3
nav-upSpecifies where to navigate when using the arrow-up navigation key3
outlineSets all the outline properties in one declaration2
outline-colorSets the color of an outline2
outline-offsetOffsets an outline, and draws it beyond the border edge3
outline-styleSets the style of an outline2
outline-widthSets the width of an outline2
resizeSpecifies whether or not an element is resizable by the user3
text-overflowSpecifies what should happen when text overflows the containing element3

Multi-column Layout Properties

PropertyDescriptionCSS
break-afterSpecifies the page-, column-, or region-break behavior after the generated box3
break-beforeSpecifies the page-, column-, or region-break behavior before the generated box3
break-insideSpecifies the page-, column-, or region-break behavior inside the generated box3
column-countSpecifies the number of columns an element should be divided into3
column-fillSpecifies how to fill columns3
column-gapSpecifies the gap between the columns3
column-ruleA shorthand property for setting all the column-rule-* properties3
column-rule-colorSpecifies the color of the rule between columns3
column-rule-styleSpecifies the style of the rule between columns3
column-rule-widthSpecifies the width of the rule between columns3
column-spanSpecifies how many columns an element should span across3
column-widthSpecifies the width of the columns3
columnsA shorthand property for setting column-width and column-count3
widowsSets the minimum number of lines that must be left at the top of a page when a page break occurs inside an element2

Paged Media

PropertyDescriptionCSS
orphansSets the minimum number of lines that must be left at the bottom of a page when a page break occurs inside an element2
page-break-afterSets the page-breaking behavior after an element2
page-break-beforeSets the page-breaking behavior before an element2
page-break-insideSets the page-breaking behavior inside an element2

Generated Content for Paged Media

PropertyDescriptionCSS
marksAdds crop and/or cross marks to the document3
quotesSets the type of quotation marks for embedded quotations2

Filter Effects Properties

PropertyDescriptionCSS
filterDefines effects (e.g. blurring or color shifting) on an element before the element is displayed3

Image Values and Replaced Content

PropertyDescriptionCSS
image-orientationSpecifies a rotation in the right or clockwise direction that a user agent applies to an image (This property is likely going to be deprecated and its functionality moved to HTML)3
image-renderingGives a hint to the browser about what aspects of an image are most important to preserve when the image is scaled3
image-resolutionSpecifies the intrinsic resolution of all raster images used in/on the element3
object-fitSpecifies how the contents of a replaced element should be fitted to the box established by its used height and width3
object-positionSpecifies the alignment of the replaced element inside its box3

Masking Properties

PropertyDescriptionCSS
mask3
mask-type3

Speech Properties

PropertyDescriptionCSS
markA shorthand property for setting the mark-before and mark-after properties3
mark-afterAllows named markers to be attached to the audio stream3
mark-beforeAllows named markers to be attached to the audio stream3
phonemesSpecifies a phonetic pronunciation for the text contained by the corresponding element3
restA shorthand property for setting the rest-before and rest-after properties3
rest-afterSpecifies a rest or prosodic boundary to be observed after speaking an element's content3
rest-beforeSpecifies a rest or prosodic boundary to be observed before speaking an element's content3
voice-balanceSpecifies the balance between left and right channels3
voice-durationSpecifies how long it should take to render the selected element's content3
voice-pitchSpecifies the average pitch (a frequency) of the speaking voice3
voice-pitch-rangeSpecifies variation in average pitch3
voice-rateControls the speaking rate3
voice-stressIndicates the strength of emphasis to be applied3
voice-volumeRefers to the amplitude of the waveform output by the speech synthesises3

Marquee Properties

PropertyDescriptionCSS
marquee-directionSets the direction of the moving content3
marquee-play-countSets how many times the content move3
marquee-speedSets how fast the content scrolls3
marquee-style






----------------------------------------------explanation---

clear

The clear property is important for controlling the behavior of floats. Compare these two examples:
<div class="box">...</div>
<section>...</section>
.box {
  float: left;
  width: 200px;
  height: 100px;
  margin: 1em;
}
<div class="box">
I feel like I'm floating!
</div>
<section>
In this case, the section element is actually after the div. However, since the div is floated to the left, this is what happens: the text in the section is floated around the div and the section surrounds the whole thing. What if we wanted the section to actually appear after the floated element?
</section>
.box {
  float: left;
  width: 200px;
  height: 100px;
  margin: 1em;
}
.after-box {
  clear: left;
}
<div class="box">
I feel like I'm floating!
</div>
<section class="after-box">
Using clear we have now moved this section down below the floated div. You use the value left to clear elements floated to the left. You can also clear right and both.
</section>

box-sizing

Over the generations, people realized that math is not fun, so a new CSS property called box-sizing was created. When you set box-sizing: border-box; on an element, the padding and border of that element no longer increase its width. Here is the same example as the previous page, but with box-sizing: border-box; on both elements:
.simple {
  width: 500px;
  margin: 20px auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.fancy {
  width: 500px;
  margin: 20px auto;
  padding: 50px;
  border: solid blue 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
<div class="simple">
We're the same size now!
</div>
<div class="fancy">
Hooray!
</div>
Since this is so much better, some authors want all elements on all their pages to always work this way. Such authors put the following CSS on their pages:
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
This ensures that all elements are always sized in this more intuitive way.
Since box-sizing is pretty new, you should use the -webkit- and -moz- prefixes for now, as I have in these examples. This technique enables experimental features in specific browsers. Also, keep in mind that this one is IE8+.
http://learnlayout.com/position.html
http://gautamcss.blogspot.in/2015/06/css-all-property-group-wise.html
mm




Sets the style of the moving content