CSS Text Effects (Summary)
CSS Text Effect Properties:
- text-overflow
- word-wrap
- word-break
- writing-mode
- text-align-last
- text-justify
Code Sample:
text-overflow - Specifies how overflowed content that is not displayed should be signaled to the user
word-break - Specifies line breaking rules for non-CJK scripts
word-wrap - Allows long words to be able to be broken and wrap onto the next line
writing-mode - Specifies whether lines of text are laid out horizontally or vertically
text-align-last - Specifies how to align the last line of a text
text-justify - Specifies how justified text should be aligned and spaced
text-overflow
- clip
- ellipsis
- string
- initial
- inherit
word-break
- normal
- keep-all
- break-all
- break-word
- initial
- inherit
word-wrap
- normal
- break-word
- initial
- inherit
writing-mode
- horizontal-tb
- vertical-rl
- vertical-lr
text-align-last
- auto
- left
- right
- center
- justify
- start
- end
- initial
- inherit
text-justify
- auto
- inter-word
- inter-character
- none
- initial
- inherit
Comments
Post a Comment