CSS display

上一页 下一页

示例中展现不同的display属性值.

选择不同的值查看对应结果:

display: inline;
display: block;
display: list-item;

This demo changes the display value for the little blue SPAN element:

Inside this paragraph, we have placed a little blue SPAN element.

This demo changes the display value for the little blue SPAN element:

Inside this paragraph, we have placed a little blue SPAN element.

This demo changes the display value for the little blue SPAN element:

Inside this paragraph, we have placed a little blue SPAN element.

要使用更多方法,请在编辑器中试一下: 亲自试一试 ❯