<strike id="3tkic"><sup id="3tkic"></sup></strike>

  1. <ul id="3tkic"></ul>
      <b id="3tkic"><legend id="3tkic"></legend></b>
      <b id="3tkic"><meter id="3tkic"></meter></b>

    • <strike id="3tkic"></strike>

      <blockquote id="3tkic"></blockquote>

    • 亚洲AV无码国产在丝袜线观看_亚洲第一页A∨在线_亚洲国产人成在线观看69网站_无码日韩人妻AV一区免费l

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

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

      <meta name=’’>

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

       

      <a href="http://927caipiao.cn/">亞網(wǎng)互聯(lián)</a>

      href:路徑
      <img src="../img/a.jpg" alt="此圖無法顯示" 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">煙臺</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樣式

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

       
        

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

       
        

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

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

      text-shadow 陰影
      text-indent

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

      列表常用

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

       

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

      后可加 -top 等方向

      border-radius 邊框圓角

      box-shadow  陰影

       

      變形效果:transform

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

      none無變換

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

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

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

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

      matrix 自定義

       

      過渡效果:transition

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

      transition-duration 完成過渡的時間

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

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

       

      @keyframes:定義一個動畫

      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;*//*無限循環(huán)*/ 
                  background-color: yellow; 
                  width: 200px;height: 200px; 
      
              }

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

       

      亚洲AV无码国产在丝袜线观看_亚洲第一页A∨在线_亚洲国产人成在线观看69网站_无码日韩人妻AV一区免费l
      <strike id="3tkic"><sup id="3tkic"></sup></strike>

      1. <ul id="3tkic"></ul>
          <b id="3tkic"><legend id="3tkic"></legend></b>
          <b id="3tkic"><meter id="3tkic"></meter></b>

        • <strike id="3tkic"></strike>

          <blockquote id="3tkic"></blockquote>

        • 台山市| 小金县| 达日县| 南通市| 黎城县| 阿拉善左旗| 惠州市| 儋州市| 沅江市| 南靖县| 绥德县| 邢台县| 余姚市| 宜阳县| 朔州市| 花莲县| 定安县| 久治县| 灌云县| 静安区| 唐河县| 浦县| 新乡县| 广水市| 安顺市| 磴口县| 贺州市| 民县| 丹棱县| 西青区| 南康市| 镇安县| 金华市| 交城县| 顺义区| 太白县| 高尔夫| 右玉县| 察隅县| 泗洪县| 秦皇岛市|