CSS一些基本属性
1、字体属性 font 六个 style variant weight size line-height family
2、边框 border 三个属性 width style color
3、背景 五个属性 background #000 url() position-X position-Y no-repeat
背景的特殊属性 background-attachment:fixed/scroll
`设置这个属性之后position属性就会变得相对于显示器屏幕,跟原来的元素无关;相当于background-attachment属性一旦被设置,此背景图片就变成body的背景,但是显示的范围依然由设置背景的div大小决定`
4、文本 text 六个属性 text-align | text-decoration | line-height | text-indent | letter-spacing | word-spacing
5、list的三个属性 list-style-type | list-style-image | list-style-position
6、光标cursor 很多属性 pointer | text | wait | crosshair | help 等等
思维导图
记一下他们的简写就差不多了,今天清醒一天,到发博文为止困了,似乎培训班最大的作用就是调整我的作息,因为国庆节所以明天周六还有一天,第一周,没有学到任何新东西。
子曾经曰过: 温故而知新,可以为师矣。
提前一天总结下学到的新知识:
- input标签的file类型,上传文件用的,经查询得知如何修改他的默认格式。
- background还有attachment属性,虽然没什么卵用,用了就成了body的背景了
- 光标属性cursor,一个记不住,读不出的单词,今天。
<tt></tt>打印机字体
虽说这个好像也没什么卵用- target属性设置为_top是用来给frame栏目注销,清空当前的整个格式
好像就这些了,完
=.=!