:スタイルから、それが消えを描くライン:バックグラウンド:currentColorはどのように行を追加しますか? (Mozillaのサイトから)次の例では
<div style="color:darkred"> The color of this text is the same as the one of the line: <div style="background:currentcolor; height:1px"></div> Some more text. </div>
Please take a look at this corresponding jsfiddle link.
私は "currentColor背景" を削除した場合。このようなスタイルはどのようにして行を追加しますか?
ありがとうございました。
空のdivが1pxの高さである理由を教えてください。線が消えず、色が白に変わっただけです。 (体の色) – anothershrubery
http://www.webdesignfromscratch.com/html-css/css-block-and-inline/ –
@anothershruberyを見てください:私が言ったように、私はこの例をMozillaのものです:https://developer.mozilla.org/ja/CSS/color_value#currentColor_Keyword – Sabuncu