<div class="box">
<div class="fill-available">
階層式樣式表是一種用來為結構化文件添加樣式的電腦語言,由W3C定義和維護。
</div>
</div>
.box{
height: 200px;
}
.fill-available {
display: inline-block;
width: fill-available;
width: fill-available;
width: available;
width: fill-available;
background-color: pink;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.