CSS基本設定

來源:互聯網
上載者:User

標籤:style   io   color   os   使用   sp   strong   on   bs   

字型設定             文本設定                          背景設定

  font-family:"字型";    color:                          background-color:

  font-size:        text-decoration:文本修飾none|underline           background-image:url(地址)

  font-weight:             |overline上劃線|line-throughg貫穿線|blink讓文本閃爍

               line-height:置中;只對文字起作用 對於圖片時失效        background-repeat:no-repeat背景圖不重複

  font-style:        text-indent:文本縮排;                    background-position:x軸座標 y軸座標

 

               text-align:center|left|right|justify(左右對齊)        background-attachment:背景滾動,scroll隨捲軸,fixed不隨

               vertical-align:top|botton|middle(中間對齊上下置中)     background:

 

word-spacing  字詞間隔

letter-spacing  字元間隔  使用於中文,將文字分開

 

CSS基本設定

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.