Après avoir suivi, vous pouvez suivre ses informations dynamiques en temps opportun
整体框架 由大到小,大框架先给定背景,可查看嵌套定位的情况,最后根据实际要求是否取消背景。暂时给出heigh以便t查看框架结构,对 width background进行设置, margin做外间隔、 border-radiue做圆角,嵌套div时可直接给出div标签定位float 确定css命名规范: Css书写顺序: 1.位置属性(position, top, right, z-index, display, float等) 2.大小(width, height, padding, margin) 3.文字系列(font, line-height, letter-spacing, color- text-align等) 4.背景(background, border等) 5.其他(animation, transition等 常用的CSS命名规则 头:header 内容:content/container 尾:footer 导航:nav 侧栏:sidebar 栏目:column 页面外控制整体佈局宽度:wrapper 左右中:left right center 登录条:loginbar 标志:logo 广告:banner 页面主体:main 热点:hot 新闻:news 下载:download 子导航:subnav 菜单:menu 子菜单:submenu 搜索:search 友情链接:friendlink 页脚:footer 版权:copyright 滚动:scroll 内容:content 标签:tags 文章列表:list 提示信息:msg 小技巧:tips 栏目标题:title 加入:joinus 指南:guide 服务:service 注册:regsiter 状态:status 投票:vote 合作伙伴:partner
2022-05-190个赞