学习补充备忘

文字 font:font-family 文本字体 

        font-size 文本字号

        font-style 文本样式

        line-height 文本字体行高

        font-weight 文本字体粗细

        text-alig 内容水平对齐

        text-index 文本缩进

        text-transform 文本大小写

        white-space 文本不换行

        text-overflow 文本溢出裁切

        text-decoration 文本下划线

        text-shadow 文本阴影

        color 颜色

边框 border:border-top 上边框

        border-right 右边框

        border-bottom 下边框

        border-left 左边框

        border-radius 圆角边框

        box-shadow 阴影

尺寸属性:width 宽度

        min-width 最小宽度

        max-width 最大宽度

        height 高度

        max-height 最大高度

        min-height 最小高度

        overflow-x 横向溢出

        overflow-y 纵向溢出

背景属性:background

        background-color 背景颜色

        background-image 背景图片

        background-repeat 铺排填充

        backgroundattachment 滚动固定

        background-position 背景图像位置

        background-size 背景尺寸大小

盒子阴影:margin 外边距/外间距/外补白

        margin-top 外上边距

        margin-bottom 外下边距

        margin-left 外左边距

        margin-right 外右边距

        padding 内边距/内间距/内补白

        padding-top 内上边距

        padding-bottom 内下边距

        padding-left 内左边距

        padding-right 内右边距

        float 浮动

        clear 清除浮动

        disaplay 显示方式

伪类属性:默认链接状态:stinik(a:link)
        访问过的链接: visited(a:visted)
        正在活动链接::active(a:acvive)
        触发的状态:shover(a:hover)
        输入框焦点::focus(input:focus)

定位属性:定位方式: position;
        顶边界向上偏移位置:top
        右边界向左偏移位置:right
        底边界向上偏移位置:bottom,
        左边界向右偏移位置:left;
        层叠顺序:z-index;

button标签:cursor:pointer 悬停按钮鼠标变成小手样式

                     disabled:disabled 禁用按钮

居中对齐的方式:vertical-align: middle;图片垂直居中

                              text-align:centet;

                               lline-height:初始高度

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值