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;(垂直对齐方式)

  • 相关阅读:
    Codechef MSTONES Milestones
    Gym101620C Cumulative Code
    bootstrap组件-导出数据
    安装pip工具
    权限管理系统---django版本
    tornado 路由、模板语言、session
    django 连接mysql
    django 表结构
    ajax和原生ajax、文件的上传
    django的cookie和session
  • 原文地址:https://www.cnblogs.com/hankai2735/p/8693061.html
Copyright © 2011-2022 走看看