zoukankan      html  css  js  c++  java
  • 字体和图片基本设置

    500px;
                    height: 500px;
                    border: 1px solid red;
                    border-top: 1px solid black;
                    border-bottom: 1px solid cyan;
                    border-left: 1px solid brown;
                    background-image: url(../img/1.jpg);
                    background-repeat: no-repeat;(不平铺)
                    background-size: 100% 100%;(照片适合尺寸)
                    background-position: bottom;(照片对齐方式)
                    font-size: 24px;(字体大小)
                    font-style: italic;(字体倾斜)
                    font-weight: bolder;(字体加粗)
                    text-decoration: underline;(字体下划线)
                    /*水平居中*/
                    text-align: center;(左右字体居中)
                    /*垂直居中*/
                    /*line-height:500px;*/
                    display: table-cell;(垂直对齐方式)
                    vertical-align: middle;(垂直对齐方式)

  • 相关阅读:
    隔离级别
    cookie
    session
    正则表达式
    hello2源代码解析
    servlet_filter简介
    web.xml
    Annotations
    Java design patterna
    CDI Features
  • 原文地址:https://www.cnblogs.com/hankai2735/p/8693061.html
Copyright © 2011-2022 走看看