CSS-盒子内容溢出设置

限制内容溢出的属性:overflow

属性值:hidden 意味着超出盒子部分的内容会被直接隐藏掉

                scroll 卷轴

代码:

我是一个盒子

图示:

隐藏图示


代码:

Lemon Tree

I'm sitting here in the boring room.

It's just another rainy Sunday afternoon.

I'm wasting my time, I got nothing to do.

I'm hanging around, I'm waiting for you.

But nothing ever happens, and I wonder.

I'm driving around in my car.

I'm driving too fast, I'm driving too far.

I'd like to change my point of view.

I feel so lonely, I'm waiting for you.

But nothing ever happens, and I wonder.

I wonder how, I wonder why.

Yesterday you told me about the blue, blue sky.

And all that I can see is just a yellow lemon tree.

I'm turning my head up and down.I'm turning, turning, turning, turning, turning around.

And all that I can see is just another lemon tree.

And I wonder, wonder

I wonder how, I wonder why

Yesterday you told me about the blue blue sky

And all that I can see.

And all that I can see.

And all that I can see is just a yellow lemon tree.

图示:

卷轴图示

你可能感兴趣的:(CSS-盒子内容溢出设置)