当前位置:网站首页>003_ color
003_ color
2022-06-30 01:49:00 【Free and bound javajavascript】
1. Color color
1.1. Element To avoid visual communication differences , Use a specific set of color palettes to specify colors , Provide a consistent visual impression for the products you build .
2. Main color
2.1. Element The main brand colors are bright 、 Friendly blue .
3. Auxiliary color
3.1. Scene colors other than the main color , Need to be used in different scenarios ( For example, a danger color indicates a dangerous operation ).
4. Neutral color
4.1. Neutral colors are used for text 、 Background and border colors . By using different neutral colors , To represent the hierarchy .
5. Color color Example
5.1. Use the scaffold to create a new one named element-ui-color Front end projects , At the same time to install Element plug-in unit .
5.2. To write App.vue
<template>
<div id="app">
<h1> Main color </h1>
<span class="elementColor brand">Brand Color<br />#409EFF</span>
<h1> Auxiliary color </h1>
<span class="elementColor success">Success<br />#67C23A</span>
<span class="elementColor warning">Warning<br />#E6A23C</span>
<span class="elementColor danger">Danger<br />#F56C6C</span>
<span class="elementColor info">Info<br />#909399</span>
<h1> Neutral color </h1>
<span class="elementColor importText"> Main text <br />#303133</span>
<span class="elementColor oneBorder"> First level border <br />#DCDFE6</span>
<span class="elementColor baseBlack"> Basic black <br />#000000</span><br />
<span class="elementColor normalText"> Regular text <br />#606266</span>
<span class="elementColor twoBorder"> Secondary border <br />#E4E7ED</span>
<span class="elementColor baseWhite"> Basic white <br />#FFFFFF</span><br />
<span class="elementColor secondaryText"> Secondary text <br />#909399</span>
<span class="elementColor thirdBorder"> Third level border <br />#EBEEF5</span>
<span class="elementColor transparent"> transparent <br />Transparent</span><br />
<span class="elementColor seatText"> Placeholder text <br />#C0C4CC</span>
<span class="elementColor fourBorder"> Four level border <br />#F2F6FC</span>
</div>
</template>
<style>
.elementColor {
display: inline-block;
width: 200px;
height: 60px;
color: #fff;
padding: 20px;
}
.brand {
background-color: #409EFF;
}
.success {
background-color: #67C23A;
}
.warning {
background-color: #E6A23C;
margin-left: 10px;
}
.danger {
background-color: #F56C6C;
margin-left: 10px;
}
.info {
background-color: #909399;
margin-left: 10px;
}
.importText {
background-color: #303133;
}
.oneBorder {
background-color: #DCDFE6;
color: black;
margin-left: 10px;
}
.baseBlack {
background-color: #000000;
margin-left: 10px;
}
.normalText {
background-color: #606266;
}
.twoBorder {
background-color: #E4E7ED;
color: black;
margin: 10px;
}
.baseWhite {
background-color: #FFFFFF;
border: 1px solid black;
color: black;
}
.secondaryText {
background-color: #909399;
}
.thirdBorder {
background-color: #EBEEF5;
color: black;
margin: 10px;
}
.transparent {
background-color: Transparent;
border: 1px solid black;
color: black;
}
.seatText {
background-color: #C0C4CC;
}
.fourBorder {
background-color: #F2F6FC;
color: black;
margin-left: 10px;
}
</style>
5.3. Run the project
边栏推荐
- 模块导入reload方法
- If you want to install a set of monitoring, what is the process? How much is it?
- GeoTools WKT坐标系转换
- Varnish 基础概览6
- Embedded exit (review and release)
- [machine learning Q & A] accuracy, accuracy, recall, ROC and AUC
- Varnish 基础概览2
- A summary of the quantification of deep network model
- [graph neural network] summary of graph classification study [3]: evaluation of graph classification methods and future research directions
- Geotools: common tools for mutual conversion of wkt, geojason, feature and featurecollection
猜你喜欢
Cookie encryption 9
What is idempotency? Detailed explanation of four interface idempotence schemes!
搞透AQS原理(流程图及同步队列图解)
Unity2D--给动画添加关键帧并绑定事件
【图神经网络】图分类学习研究综述[2]:基于图神经网络的图分类
城市规划馆在设计制作上需要注意什么
C语言 素数对猜想
The first technology podcast month will begin soon
[machine learning Q & A] data sampling and model verification methods, hyperparametric optimization, over fitting and under fitting problems
[mrctf2020]ezpop-1 | PHP serialization
随机推荐
If mybaits cannot query the data, it can query how to change it in the database
Who can use redis expired monitoring to close orders and get out of here!
C语言 继续(3n+1)猜想
App test related tools
Varnish 基础概览3
【二叉树】最大二叉树 II
Application features and functions of painting Aquarium
Three questions from the boss
【图神经网络】图分类学习研究综述[3]:图分类方法评价及未来研究方向
JS prototype and prototype chain (Lantern Festival meal)
假离婚变成真离婚,财产怎么办
Sorting out the usage of transforms in pytoch
Mobaihe cm201-2-ch-hi3798mv300-300h-emmc and NAND_ Infrared Bluetooth voice_ Brush firmware package
The first technology podcast month will begin soon
cookie加密8
MySQL monitoring 5
cookie加密9
Database application
Cookie加密15 登录加密
【PyTorch实战】生成对抗网络GAN:生成动漫人物头像