- 1、本文档共19页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
css常见用法(国外英文资料)
css常见用法(国外英文资料)
Position: relative is offset relative to the original position, only moving its own position, the rest.
Absolute relative to the whole browser to elements, be replaced by the position of the back of the original position, it is the default top: 10 px, left: 10 px, if you want to completely rely on the upper left corner of the browser, with left: 0; Top: 0; If you change the browser window, it will also scale.
Fixed ie8 doesnt seem to support it, its not scalable in firefox, but when the browser window changes, it still moves, but it doesnt scale
The static is the default.
The indent of text-indent
Div has to be lined up and waiting for long to copy the # id
style type = text/CSS
! --
The @import url (1. / / it can also be @import 1.css (this doesnt seem to work)
You can add the @import url (2.css) here and add two CSS files
You can also add the @import url (2.css) in the 1.css, so you can only import 1. CSS can also be used with two CSS, which is fine
-- --
/ style
link href = 1.css type = text/CSS rel = stylesheet /
If multiple styles are duplicated, the priority is at least @import, which is the style in head, which is the link, and the highest is the style of the line
The line - height: 100%; The height of a line is 100 percent of the font, meaning that there is only one word in a line, and there is no room for up and down
Img {filter: alpha (= 100, finishopacity = 0, style = 2) The filter effect for the image is only useful in ie, the value of style is different, and the direction of control is controlled
H1, h2, h3, # someid,.cc, h2.ss {... Collective selector
The special I {color: red} nested options
Top 1 strong {font-size: 16px}
H1 {text - decoration: underline} h1 HHHH em cc / em / h1 this code HHHH and cc all the underline, because the son inherited his fathers property, but the son himself will cover his fathers attribute
The font in HTML is font face = .. , CSS is font-family:
Can the font-family: bold, Arial, song typefac
文档评论(0)