CSS3 text-overflow プロパティ
完全な CSS3 リファレンス
例
Use of the text-overflow property:
div.test
{
text-overflow:ellipsis;
} |
Try it yourself »
More examples at the bottom of this page.
|
ブラウザ・サポート

text-overflow property is supported in all major browsers, except
Firefox.
定義と用法
text-overflow property specifies what should happen when text overflows
the containing element.
| デフォルト値: |
clip |
| 継承: |
no |
| バージョン: |
CSS3 |
| JavaScript構文: |
object.style.textOverflow="ellipses" |
構文
| text-overflow: clip|ellipsis|string; |
| 値 |
説明 |
| clip |
Clips the text |
| ellipsis |
Render an ellipsis ("...") to represent clipped text |
| string |
Render the given string to represent clipped text |
 |
Try it Yourself - Examples |
Text-overflow with a hover effect
This example demonstrates how to display the entire text when hover over the
element.
関連ページ
CSS3 チュートリアル: CSS3 Text Effects
完全な CSS3 リファレンス
|