发表于: 2019-03-31 21:34:43
1 728
今天完成的事情:
1.完成css任务6的头部与脚步布局
2.继续熟悉了bootstrap
3.运用了雪碧图将任务6的图标整合在一张图上
明天计划的事情:
1.继续css任务6
2.思考css任务五的思考题
遇到的问题:
暂无
收获:
1.class命名规范
常见class关键词
布局类:header, footer, container, main, content, aside, page, section
包裹类:wrap, inner
区块类:region, block, box
结构类:hd, bd, ft, top, bottom, left, right, middle, col, row, grid, span
列表类:list, item, field
主次类:primary, secondary, sub, minor
大小类:s, m, l, xl, large, small
状态类:active, current, checked, hover, fail, success, warn, error, on, off
导航类:nav, prev, next, breadcrumb, forward, back, indicator, paging, first, last
交互类:tips, alert, modal, pop, panel, tabs, accordion, slide, scroll, overlay
星级类:rate, star
分割类:group, seperate, divider
等分类:full, half, third, quarter
表格类:table, tr, td, cell, row
图片类:img, thumbnail, original, album, gallery
语言类:cn, en
论坛类:forum, bbs, topic, post
方向类:up, down, left, right
其他语义类:btn, close, ok, cancel, switch; link, title, info, intro, more, icon; form, label, search, contact, phone, date, email, user; view, loading...
页面结构
容器: container/wrap
整体宽度:wrapper
页头:header
内容:content
页面主体:main
页尾:footer
导航:nav
侧栏:sidebar
栏目:column
中间内容:center
2.css伪类选择器
- :link 超链接点击之前
- :visited 链接被访问过之后
- :hover “悬停”:鼠标放到标签上的时候
- :active “激活”: 鼠标点击标签,但是不松手时。
- :focus 是某个标签获得焦点时的样式(比如某个输入框获得焦点)
- :link “链接”:超链接点击之前
- :visited “访问过的”:链接被访问过之后
- :hover “悬停”:鼠标放到标签上的时候
- :active “激活”: 鼠标点击标签,但是不松手时。
评论