2018年10月13日

6 week work 3

摘要: sticky vs fixed sticky:表示粘贴到某个位置。当组件设置了该属性值后,当页面滑动时,组件会跟着页面移动,当组件触及到窗体后,页面若继续滑动,组件则处在与窗体接触的位置不动。元素的定位是根据文档的正常流动,然后相对于其抵消最近的滚动的祖先和包含块(最近的块级的祖先),包括table 阅读全文
posted @ 2018-10-13 13:30 Kyrie1205 阅读(108) 评论(0) 推荐(0) 编辑

6 week work 2

摘要: CSS颜色表示法和颜色表(调色板) 1、用颜色名表示 如:white、red、greenyellow、gold等。 2、用十六进制的颜色值表示(红、绿、蓝) #FF0000或者#F00 3、用rgb(r,g,b)函数表示 如:rgb(255,255,0) 4、用hsl(Hue,Saturation, 阅读全文
posted @ 2018-10-13 13:22 Kyrie1205 阅读(213) 评论(0) 推荐(0) 编辑

6 week work 1

摘要: CSS单位 em and rem: are often used to create scalable layouts, which maintain the vertical rhythm of the page even when the user changes the font size. 阅读全文
posted @ 2018-10-13 13:12 Kyrie1205 阅读(110) 评论(0) 推荐(0) 编辑