• 样式表css 图片及文字的属性


    背景:

    background-color                    背景色

    no-repeat                                不平铺                

    background-image                  背景图片

    background-repeat                 背景图的平铺方式

    background-position               背景图片位置

    background-size                     背景图的大小 

    文字:

    font-family                   字体

    font-size                      字体大小 

    font-style

    italic                            倾斜

    font-weight                 bold加粗

    text-decoration

                                  underline下划线

                                  overline上划线

                                  line-through删除线

                                  none没有,用来去掉超链接的下划线

    color                      字体颜色

    对齐方式:

    text-align         水平对齐方式

    line-height       垂直对齐方式,配合行高使用

    display             不占位置

    visibility            占位置

    overflow           超出范围 hidden隐藏

    圆角

              border-radius:5px;

             border-bottom-left-radius: 10px;(只一个角)

              border-top-right-radius: 10px;(只一个角)

    阴影

    box-shadow: -1px -1px 1px black;

    text-shadow: 1px 1px 1px green;

                           当然属性还有很多,以上常用

  • 相关阅读:
    CountDownLatch原理分析
    Maven項目打包報錯:Plugin execution not covered by lifecycle configuration
    Java实现编辑距离算法
    MQ的深入理解
    关于HashMap
    JVM基础详解
    Java实现Mysql的 substring_index 函数功能
    Kettle发送邮件
    Kettle实现从数据库中提取数据到Excel
    bzoj1596[Usaco2008 Jan]电话网络*
  • 原文地址:https://www.cnblogs.com/little-rock/p/7368484.html
Copyright © 2020-2023  润新知