Thursday, April 28, 2016

Wrap Text in CSS - outline

Wrap Text in CSS (Cascading Style Sheet)

CSS Common Value:
length
fixed length measurement in px, pt, cm, em, etc. Default value is depend on the property. 
%     Defines the length measurement in % relative to the width of the parent element.

CSS property

css 1:
white-space: normal|nowrap|pre|pre-line|pre-wrap|initial|inherit;
text-indent: length|initial|inherit;
text-align: left|right|center|justify|initial|inherit;

css 2:
min-width: length|initial|inherit;
overflow: visible|hidden|scroll|auto|initial|inherit;
 css 3:
align-content: stretch|center|flex-start|flex-end|space-between|space-around|initial|inherit;
overflow-x: visible|hidden|scroll|auto|initial|inherit;
overflow-y: visible|hidden|scroll|auto|initial|inherit;
text-align-last: auto|left|right|center|justify|start|end|initial|inherit;
text-overflow: clip|ellipsis|string|initial|inherit;
word-break: normal|break-all|keep-all|initial|inherit;
word-wrap: normal|break-word|initial|inherit;
overflow-wrap: normal | break-word|initial|inherit; (alternative to word-wrap, but less compatibility as in writing this tutorial).

No comments:

Post a Comment