一、文本属性整理

<style>
h2 {
/* 文字对齐属性 text-align */
/* center:居中,left,right:居左居右,justify:文字拉伸铺满一行 */
text-align: center;
/* 文字大小写属性 text-transform: uppercase:大写,lowercase:小写,capitalize:首字母大写 */
text-transform: capitalize;
font-size: 60px;
/* 文字厚度 font-weight */
font-weight: 400;
/* 文字的行高 line-height */
line-height: 100px;
/* 透明度 */
opacity: 0.5;
}
</style> <h2>Test title</h2>
<!-- 验证文本其他tag属性 em:斜体, u: 下划线, strong:加粗强调,s:删除 -->
<p><s>删除</s> <u>下划线</u> <strong>强调</strong></p>
<p><em>字体倾斜</p>
<!-- hr表示下划线 -->
<hr>

二、颜色属性总结

<style>
/* 使用单词表示颜色 */
.word-color {
color: red;
} /* 使用hex16进制表示颜色 */
.hex-color {
color: #FFFFFF;
} /* 使用rgb表示颜色 */
.rgb-color {
color: rgb(0,0,0);
} /* 使用rgba表示颜色+透明度 */
.rgba-background-color {
background-color: rgb(255,0,0,0.5)
} /* 渐变色 linear-gradient,颜色数量自定义 */
.yellow-white-blue {
background: linear-gradient(30deg, yellow, rgb(255,255,255), #0000ff);
} /* 重复渐变 repeating-linear-gradient*/
.repeat-color{
border-radius: 20px;
width: 70%;
height: 400px;
margin: 50 auto;
background: repeating-linear-gradient(
90deg,
yellow 0px,
blue 40px,
green 40px,
red 80px
);
} div {
width: 200px;
height: 200px;
} </style> <div class="rgba-background-color">
<p class="rgb-color">颜色测试</p>
</div>
<div class="yellow-white-blue"></div>
<div class="repeat-color"></div>

三、Applied visual design(应用视觉设计)的更多相关文章

  1. Only2 Labs — A Visual Design Studio

    Only2 Labs - A Visual Design Studio 设计合作 对您目前的设计很不满意?或是急缺一个设计供应商?您的团队最近做的项目需要指导?Only2都很乐意为您解困惑. 或者,你 ...

  2. Xamarin+Prism开发详解三:Visual studio 2017 RC初体验

    Visual studio 2017 RC出来一段时间了,最近有时间就想安装试试,随带分享一下安装使用体验. 1,卸载visual studio 2015 虽然可以同时安装visual studio ...

  3. 在【Xamarin+Prism开发详解三:Visual studio 2017 RC初体验】中分享了Visual studio 2017RC的大致情况,同时也发现大家对新的Visual Studio很是感兴趣。于是发时间深入研究了一下Visual Studio 2017RC 是不是和微软Connect()://2016上说得一样神。

    总共列出了12点,耐心点慢慢看! 1,添加了不少[代码样式]的设置项目. 通过合理的设置每个人都能写出优美的代码,而且团队项目也可以达到统一代码风格. this首选项:可以设置[字段,属性,方法,事件 ...

  4. 进度更新---Responsive Web Design Certification (300 hours)

    进度更新---Responsive Web Design Certification (300 hours) 已经完成: basic html and html5 basic css applied ...

  5. FCC---Create a Gradual CSS Linear Gradient

    Applied Visual Design: Create a Gradual CSS Linear Gradient background: linear-gradient(gradient_dir ...

  6. 转:15 Best Responsive Web Design Testing Tools

    Responsive Web Design is regarded as being the approach which suggests that web design and developme ...

  7. Design Pattern in Simple Examples

    Instead of defining what is design pattern lets define what we mean by design and what we mean by pa ...

  8. Visual detection of structural changes in time-varying graphs using persistent homology

    PKU blog about this paper Basic knowledge:  1. what is time-varying graphs? time-varying graph VS st ...

  9. 深入研究Visual studio 2017 RC新特性

    在[Xamarin+Prism开发详解三:Visual studio 2017 RC初体验]中分享了Visual studio 2017RC的大致情况,同时也发现大家对新的Visual Studio很 ...

  10. Visual Studio Code预览版Ver 0.3.0试用体验

    当你开始阅读这篇文章时,请先不要把Visual Studio Code和.net.Windows联想到一起,因为VS Code是一个跨平台,支持30多种语言的开箱代码编辑器.不管你是.Net.Java ...

随机推荐

  1. VUE3声明插件TypeScript类型

    declare module '*.vue' { import type { DefineComponent } from 'vue'; // eslint-disable-next-line @ty ...

  2. 像MIUI一样做Zabbix二次开发(5)——那些坑和优化方向

    踩过的那些坑 从2011年开始玩Zabbix,踩过的坑着实不少,被研发的同事吐了无数槽,所谓"情到深度又爱又恨".以下简述印象比较深刻的几个坑: 二次开发的方式:2011刚开始做的 ...

  3. (四十二)Unittest单元测试框架之关于unittest还需要知道的-跳过测试和预期失败

    随笔记录方便自己和同路人查阅. #------------------------------------------------我是可耻的分割线--------------------------- ...

  4. ASP.NET Core Web API通过中间件或UseExceptionHandler异常处理方法

    UseExceptionHandler app.UseExceptionHandler(configure => { configure.Run(async context => { va ...

  5. conda出现Solving environment: failed错误

    conda在使用create新建环境和install安装时报错"Solving environment: failed" 报错截图  解决方案 1.在cmd中输入 %HOMEPAT ...

  6. 2022-04-20内部群每日三题-清辉PMP

    1.一个项目已经支出350万美元,现在已经完成400万元美元的工作.该项目的计划价值(PV)为800万美元.主题专家(SME)估算还需要600万美元来完成该项目.完成该项目的技术方法不再有效.当前的完 ...

  7. Liunx 日志检索 grep -v -a awk

    grep -5 'parttern' inputfile.log //打印匹配行的前后5行   grep -C 5 'parttern' inputfile.log //打印匹配行的前后5行   gr ...

  8. leecode编写记录

    记录leecode刷题思路 39.组合总数 39. 组合总和 - 力扣(LeetCode) 给你一个 无重复元素 的整数数组 candidates 和一个目标整数 target ,找出 candida ...

  9. pg_freespacemap查看表膨胀

    pg_freespacemap模块提供一种检查自由空间映射(FSM)的手段.它提供一个名为pg_freespace的函数,或精确的说是两个重载函数.该函数在一个给定的页面或关系中的所有页面的自由空间映 ...

  10. kibana启动时报错:Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [999]/[1000] maximum shards open

    解决方案: curl -XPUT -H "Content-Type:application/json" -d '{"persistent":{"clu ...