zoukankan      html  css  js  c++  java
  • 2css

    字体属性

    <style>
            body {
                font-family:'Microsoft YaHei';
                font-size: 22px;
                font-weight: 700;
            }
        </style>

    文本颜色、对齐文本text-align、装饰文本text-decoration、文本缩进text-indent、行间距line-height

    <style>
            body {
                /* text-decoration: underline; */
                /* text-decoration: none; */
                text-decoration:line-through;
            }
        </style>

     外观样式总结

    color,line-height,text-align,text-indent,text-decoration

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
        <style>
            body {
                font-size: 16px;
            }
            .title {
                font-size:25px;
                font-weight: 400;
            }
            .time {
                color:#63CA2F;
            }
            em {
                font-style: normal;
                color:skyblue;
            }
            .people {
                color:purple;
            }
            div.button {
                color:green;
            }
            .search {
                color:red;
            }
            .button {
                color:blue;
            }
            .tic {
                text-align: center;
            }
            .tac {
                text-align: center;
            }
            p {
                line-height: 25px;
                text-indent: 2em;
            }
            a {
                text-decoration: none;
            }
        </style>
    </head>
    <body>
        <h1 class="title tic">这场被疫情倒逼着的企业转型,使数字化的价值被快速普及和验证。</h1>
        <div class="tac"><span class="time">根据国家统计局</span>
            <span class="people"> 6月发布的数据显示</span>
            <a href="#">收藏本文</a>
            <input type="text" value="请输入查询条件" class="search"><button class="button">搜索 </button>
        </div>
        <hr>
        <p><em>[互联网]</em>相关的新业态、新模式持续逆势增长,实物商品网上零售额同比增长8.6%,比上一季度加快2.7%;实物商品网上零售额占比24.1%,比去年同期提高5.5%。
        </p>
        <p>在今年年初,中央决策层、工业和信息化部相继发布关于新基建、数字化相关的政策和通知,强调加快5G网络、数据中心等新型基础设施建设进度。数字化已经被提升到国家战略高度。</p>
        <p>这标志着,数字经济正成为中国创新增长的新路径。据近日发布的《中国数字经济发展白皮书(2020年)》显示,2019年我国数字经济增加值规模达到35.8万亿元,占GDP比重达到36.2%。</p>
        <p>因而,在数字化浪潮下,如何利用数字化工具系统性地提升运营效率,成为每一个实体商业运营者正努力尝试和思考的问题。
    
            但直播只是数字营销的一个环节而已,数字化关乎到<em>[生产制造]</em>、供应链、商品管理、全渠道营销等各个业务场景,只有将业务全链路实现数字化、数据化和智能化,实现更高企业经营效率。</p>
    
    
    
    </body>
    </html>
  • 相关阅读:
    负数幅角的选取
    记一次py交易
    区间估计
    平方和
    正态总体 下常用结论
    每日一背
    乘积的期望
    java调用javascript
    Java Agent入门
    JavaPoet入门
  • 原文地址:https://www.cnblogs.com/gao-chao/p/13378031.html
Copyright © 2011-2022 走看看