CSS3和动画

定位:

    z-index 叠层    数字越大越往上层

注意:要用z-index属性必须设position属性

溢出overflow

属性值:visible    不剪切内容也不添加滚动条

        Auto        在必需时对象内容才会被裁切或显示滚动条

        hidden    不显示超过对象尺寸的内容

scroll    总是显示滚动条,强制加滚动条

Overflow-x    x轴方向溢出

overflow-y    y轴方向溢出

缩放:

    Zoom    放大、缩小

边框:border

border-radius 圆角

box-shadow     阴影

border-image 图片

border-image: source slice width outset repeat|initial|inherit;

border-image-source    用于指定要用于绘制边框的图像的位置

border-image-slice    图像边界向内偏移

border-image-width    图像边界的宽度

border-image-outset    用于指定在边框外部绘制 border-image-area 的量

border-image-repeat    用于设置图像边界是否应重复(repeat)、拉伸(stretch)或铺满(round)。

猜你喜欢

转载自www.cnblogs.com/lzw123-/p/9158813.html