CSS部分代碼解釋筆記

來源:互聯網
上載者:User

position=定位方式
padding=內間距
margin=外間距
(top=頂邊
right=右邊
bottom=底邊
left=左邊)
background=背景
background-image=背景映像
background-repeat=背景映像是否及如何鋪排

font-weight=字型的粗細
font-family=選擇字型
font-size=字型尺寸

display=設定是否及如何顯示元素
list-style-type=清單項目所使用的預設標記
list-style=設定清單類型
text-align=文字的對齊
(left=左邊
right=右邊
center=中間)
line-height=行高

position=把元素放置到一個靜態、相對的、絕對的、或固定的位置中
overflow=設定當元素的內容溢出其地區時發生的事情
clear=清除浮動
float=左右浮動

title=標題
table=表格
style=樣式
border=邊框
cellpadding=填充
cellspacing=間距
href=連結
target_blank=新頁面開啟視窗
width=寬
height=高
span=塊
color=顏色
align=水平對齊
valign=垂直對齊
img src=連結圖片
colspan=合并列
rowspan=合并行
class=類

link=當前
hover=指上
active=活動
visited=訪問過

text-decoration=定義底線
(none=無底線
underline=文本下有一條線
overline=文本上有一條線
line-through=文本中有一條線)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.