• <tbody id="9je1r"></tbody><tbody id="9je1r"><acronym id="9je1r"><rp id="9je1r"></rp></acronym></tbody>
      • <acronym id="9je1r"><acronym id="9je1r"><rp id="9je1r"></rp></acronym></acronym>

        亚洲无码Aⅴ,视频1页精品,欧美系列一区二区,曰韩色999

        html5標(biāo)簽css3的常用樣式

        2016/10/20 8:30:32   閱讀:1695    發(fā)布者:1695

        <meta name=’’>

        name:有如下6個(gè)值:
        application-name:文檔名或者應(yīng)用名,整個(gè)文檔只能包含一個(gè)值。
        author:文檔作者
        description:文檔描述
        generator:生成文檔的程序。
        keywords:網(wǎng)頁(yè)關(guān)鍵字,用英文逗號(hào)分隔。

         

        <a href="http://www.sdstglx.com/">亞網(wǎng)互聯(lián)</a>

        href:路徑
        <img src="../img/a.jpg" alt="此圖無(wú)法顯示" border="1px solid red" width="400" height="250"/>
        src:圖片路徑

        <table>標(biāo)簽的屬性
        Border 邊框
        Cellspacing 表格外邊距
        Cellpadding 表格內(nèi)邊距
        Align  位置
        Bgcolor:背景色
        Background:背景圖片
        Bordercolor:邊框顏色

        table中 <tr></tr>

        <td colspan="2"></td>  colspan 跨2列

                rowspan  跨  行

        <input type="">

         type值

        text  文本

        password 密碼

        radio 單選

        checkbox 多選

        reset 重置

        file 文件上傳

        submit 提交表單

        image 圖形提交

        button 普通按鈕

        分組下拉

        <select name="city" id="city">
        <optgroup label="山東">
        <option value="yt">煙臺(tái)</option>
        <option value="qd">青島</option>
        <option value="wh">威海</option>
        </optgroup>
        <optgroup label="北京">
        <option value="bj">bj</option>
        <option value="tam">tam</option>
        <option value="zong">zong</option>
        </optgroup>
        </select>

        文字區(qū)域textarea
        <textarea name="textarea" id="textarea" cols="30" rows="10" readonly="readonly"
        disabled="disabled">
        1</textarea>
        cols 寬度 rows 高度 readonly 只讀

        css樣式

        字體、字號(hào):
        font(縮寫形式)
        font-weight(粗細(xì)) 正常(normal) 粗體(bold) 斜體(italic)
        font-size(大小)
        font-family(字體系列)
        font-style(字體樣式)

         
          

        字體顏色:
        color
        opacity (透明度 css3)

         
          

        行距、對(duì)齊等:
        line-height (行高)
        text-align (對(duì)齊)
        letter-spacing (字符間距)
        text-decoration (文本修飾 )
        overflow  超出的部分隱藏
        text-overflow

        text-overflow文本裁剪  clip裁剪文本時(shí)不添加...  
        ellipsis 裁剪時(shí)加...  注意:不換行和over-flow控制

        text-shadow 陰影
        text-indent

        背景屬性:
        background (縮寫形式)
        background-color(背景色 )
        background-image(背景圖 )
        background-repeat(背景圖重復(fù)方式 )
        background-position(位置坐標(biāo)、偏移量)

        列表常用

        list-style: none無(wú)風(fēng)格 disc實(shí)心圓 circle空心圓 square 實(shí)心正方形 decimal 數(shù)字

         

        盒子屬性:
        margin(外邊距/邊界)    以上方為主 可寫1、2、4個(gè)值
        border(邊框)
        padding(內(nèi)邊距/填充 )

        后可加 -top 等方向

        border-radius 邊框圓角

        box-shadow  陰影

         

        變形效果:transform

        transform-origin 指定變換的起點(diǎn)

        none無(wú)變換

        translate(長(zhǎng)度值或百分比) translateX translateY 在水平、垂直方向平移

        scale(數(shù)值)scaleX scaleY 在水平方向、垂直方向或兩個(gè)方向上縮放

        rotate(角度)旋轉(zhuǎn)元素

        skew(角度)skewX skewY  在水平方向、垂直方向或兩個(gè)方向上使元素傾斜一定的角度

        matrix 自定義

         

        過渡效果:transition

        transition-property 指定過渡的css屬性 默認(rèn)值 all

        transition-duration 完成過渡的時(shí)間

        transition-timing-function 指定過渡函數(shù)  緩動(dòng)效果默認(rèn)值ease 等同于(0.25, 0.1, 0.25, 1.0) 

        transition-delay 指定過渡開始出現(xiàn)的延遲時(shí)間

         

        @keyframes:定義一個(gè)動(dòng)畫

        animation

        <style>           
          .t5{ 
                    transition: 5s ease-out all;   /*過渡   ease    in 加速   out減速*/ 
                }/*transition-delay延遲*/ 
                .t5:hover{ 
        
              transform: skew(45deg,45deg) 
               } 
              @keyframes key { 
                    0%{ 
                background-color: red;width: 200px;height: 200px; 
                    } 
                    25%{ 
               background-color: orange;width: 100px;height: 100px;transform: rotate(-90deg); 
                    } 
                    50%{ 
               background-color: yellow;width: 60px;height: 60px;transform: none; 
                    } 
                    75%{ 
               background-color: green;width: 120px;height: 120px;transform: none; 
                    } 
                    100%{ 
                background-color: blue;width: 200px;height: 200px;transform: rotate(360deg); 
                    } 
                } 
                .kt{ 
                    animation:key 1s; 
                   /* animation-iteration-count: infinite;*//*無(wú)限循環(huán)*/ 
                    background-color: yellow; 
                    width: 200px;height: 200px; 
        
                }

        </style> <div class="kt t5"></div>

         

        亚洲无码Aⅴ,视频1页精品,欧美系列一区二区,曰韩色999
            • <tbody id="9je1r"></tbody><tbody id="9je1r"><acronym id="9je1r"><rp id="9je1r"></rp></acronym></tbody>
            • <acronym id="9je1r"><acronym id="9je1r"><rp id="9je1r"></rp></acronym></acronym>
              罗源县| 泗阳县| 亚东县| 宁武县| 阿图什市| 镇康县| 神农架林区| 阳泉市| 平度市| 丹棱县| 宣城市| 宿松县| 宁武县| 荥阳市| 滁州市| 恭城| 新密市| 雷波县| 仙游县| 郸城县| 香河县| 沂南县| 鲁甸县| 连云港市| 浦江县| 茂名市| 百色市| 温州市| 陇西县| 峨眉山市| 巨鹿县| 辉县市| 丰城市| 康保县| 普兰店市| 丰县| 鹿邑县| 稷山县| 抚松县| 怀安县| 崇义县|