当前位置:网站首页>企业命名规范
企业命名规范
2022-07-15 08:51:00 【金枝玉叶9】
网页内容类
标题: title
摘要: summary
箭头: arrow
商标: label
网站标志: logo
转角/圆角: corner
横幅广告: banner
子菜单: subMenu
搜索: search
搜索框: searchBox
登录: login
登录条:loginbar
工具条: toolbar
下拉: drop
标签页: tab
当前的: current
列表: list
滚动: scroll
服务: service
提示信息: msg
热点:hot
新闻: news
小技巧: tips
下载: download
栏目标题: title
热点: hot
加入: joinus
注册: regsiter
指南: guide
友情链接: friendlink
状态: status
版权: copyright
按钮: btn
合作伙伴: partner
投票: vote
左右中:left right center
(二)注释的写法:
/* Footer */
内容区
/* End Footer */
(三)id的命名:
(1)页面结构
容器: container
页头:header
内容:content/container
页面主体:main
页尾:footer
导航:nav
侧栏:sidebar
栏目:column
页面外围控制整体布局宽度:wrapper
左右中:left right center
(2)导航
导航:nav
主导航:mainbav
子导航:subnav
顶导航:topnav
边导航:sidebar
左导航:leftsidebar
右导航:rightsidebar
菜单:menu
子菜单:submenu
标题: title
摘要: summary
(3)功能
标志:logo
广告:banner
登陆:login
登录条:loginbar
注册:regsiter
搜索:search
功能区:shop
标题:title
加入:joinus
状态:status
按钮:btn
滚动:scroll
标签页:tab
文章列表:list
提示信息:msg
当前的: current
小技巧:tips
图标: icon
注释:note
指南:guild
服务:service
热点:hot
新闻:news
下载:download
投票:vote
合作伙伴:partner
友情链接:link
版权:copyright
(四)class的命名:
(1)颜色:使用颜色的名称或者16进制代码,如
.red { color: red; }
.f60 { color: #f60; }
.ff8600 { color: #ff8600; }
(2)字体大小,直接使用"font+字体大小"作为名称,如
.font12px { font-size: 12px; }
.font9pt {font-size: 9pt; }
(3)对齐样式,使用对齐目标的英文名称,如
.left { float:left; }
.bottom { float:bottom; }
(4)标题栏样式,使用"类别+功能"的方式命名,如
.barnews { }
.barproduct { }
注意事项::
1.一律小写;
2.尽量用英文;
3.不加中杠和下划线;
4.尽量不缩写,除非一看就明白的单词.
文件夹路径一定不要使用中文路径
推荐的 CSS 书写顺序
//显示属性
display
list-style
position
float
clear
//自身属性
width
height
margin
padding
border
background
//文本属性
color
font
text-decoration
text-align
vertical-align
white-space
other text
content
边栏推荐
- Proxmox ve 7.2 LxC deployment openwrt
- 互联网公司都怎么实现分页的,拿 MySQL 使劲Limit?
- 会话跟踪技术Cookie和Session
- Fast and slow clock domain processing of single bit data pulse broadening method
- Next generation wireless LAN -- MIMO SDM Foundation
- Fundamentals of C language: operators
- Proxmox ve 7.2 install grafana+prometheus monitoring PVE exporter
- Stm32f407 external SRAM
- Postman interface test tool
- Switch and router technology: static route configuration and DHCP and VLAN configuration on the router
猜你喜欢

How to realize the association between interfaces in JMeter?

Mysql—事务:一篇掌握

软件测试 接口测试 实战 微信公众号平台 Postman+newman+jenkins 实现自动生成报告并持续集成

Proxmox ve 7.2 LxC deployment openwrt

一行代码制作数据分析交叉表,太便捷了

目标检测--边框回归损失函数SIoU原理详解及代码实现

洽洽陈先保,六旬老汉复出,他还能折腾多少?

Switch and router technology: VLAN trunk, single arm routing, and layer 3 switching and configuration

Stock market forecast, sales forecast, virus spread A time series modeling routine, all done!

VMware Photon OS 4 Install
随机推荐
Force deduction solution summary 745 prefix and suffix search
What is Oracle's user and authority system?
How to import the data in a table into the corresponding database website
In 2022, how can I get started with smart home
Practical application of Apache Flink in wing payment
Apache Flink 在移动云实时计算的实践
Contact Chen Xianbao. How much can he deal with when the 60 year old man returns?
How long does a tester insist on changing jobs in order to improve his salary perfectly?
Proxmox VE 7.2 网卡直通
一个八年软件测试工程师之路
Proxmox ve 7.2 changing the default access port
Session tracking technology cookies and sessions
慢 SQL 分析与优化
易基因|染色质免疫共沉淀测序(ChIP-seq)分析实验全流程
YOLO系列论文精度 & YOLOv2 and YOLO9000
会话跟踪技术Cookie和Session
Kotlin click the blank position to hide the soft keyboard
浅解volatile
股票账户上买基金安全吗。可以做短线吗
互聯網公司都怎麼實現分頁的,拿 MySQL 使勁Limit?