当前位置:网站首页>多列属性column元素的可见性:display、visibility、opacity、垂直对齐方式:vertical-align、z-index 越大越显示在上层
多列属性column元素的可见性:display、visibility、opacity、垂直对齐方式:vertical-align、z-index 越大越显示在上层
2022-08-05 03:43:00 【(-^_^-)】
div(页面划分)span(一行之内的使用样式)
width属性:设置内容显示区域的宽度-----只是对块元素(h1,p,)和img元素有效
多列属性
column-count:规定元素应该被分割的列数——一个整数 ;
column-gap:规定列之间的间隔——px pt em % ;
column-rule:设置列之间的竖线宽度、样式和颜色规则——2px solid green ;
column-span: 规定元素应跨多少列——1 all;
column-width:规定列的宽度——px pt em % ;
水平居中:margin
垂直对齐方式:vertical-align:
baseline(默认、元素放在父元素的基线上) top(元素的顶端与行中最高元素的顶端对齐) middle(元素放置在父元素的中部) bottom(元素的顶端与行中最低的元素的顶端对齐) sub(垂直对齐文本的下标) super(垂直对齐文本的上标)text-top (元素的顶端和父元素字体的顶端对齐)text-bottom (元素的底端与父元素字体的底端对齐)
元素的可见性:z-index 越大越显示在上层
元素的可见性:display
display: 设置元素应该生成的框的类型——block(设置元素为块元素 可以将行元素转化成块元素 然后进行width的设置,元素前后带有换行符) inline (默认值、元素被显示为行内元素,可以显示在一行,元素前后没有换行符)none(元素不会被现实、元素不会占据页面上的空间);
visibility: 设置元素是否可见——visible(默认值 元素可见) hidden(元素不可见,元素仍然占据页面空间);
opacity: 设置元素的透明度——0.0完全透明->1.0完全不透明;
边栏推荐
- Call Alibaba Cloud oss and sms services
- 队列题目:最近的请求次数
- pyqt5 + socket 实现客户端A经socket服务器中转后主动向客户端B发送文件
- How to Add Category-Specific Widgets in WordPress
- burp安装及代理设置
- 多御安全浏览器新版下载 | 功能优秀性能出众
- Dameng 8 database export and import
- AI+PROTAC | dx/tx completes $5 million seed round
- UE4 第一人称角色模板 添加冲刺(加速)功能
- The most effective seven performance testing techniques of software testing techniques
猜你喜欢
iMedicalLIS listener (2)
多御安全浏览器 V10.8.3.1 版正式发布,优化多项内容
用Unity发布APP到Hololens2无坑教程
【Mysql进阶优化篇02】索引失效的10种情况及原理
UE4 opens door via interaction (keyboard key)
告白数字化转型时代,时速云镌刻价值新起点
MySql index learning and use; (I think it is detailed enough)
How to discover a valuable GameFi?
测试薪资这么高?刚毕业就20K
Detailed and comprehensive postman interface testing practical tutorial
随机推荐
Package zip is not available, but is referred to by another package.
Walter talked little knowledge | "remote passthrough" that something
Developing Hololens encountered The type or namespace name 'HandMeshVertex' could not be found..
冒泡排序与快速排序
UE4 通过与其它Actor互动开门
UE4 通过互动(键盘按键)开门
From "useable" to "easy to use", domestic software is self-controllable and continues to advance
Redis1: Introduction to Redis, basic features of Redis, relational database, non-relational database, database development stage
2022-08-04T17:50:58.296+0800 ERROR Announcer-3 io.airlift.discovery.client.Announcer appears after successful startup of presto
【Mysql进阶优化篇02】索引失效的10种情况及原理
UE4 通过重叠事件开启门
Slapped in the face: there are so many testers in a certain department of byte
【已解决】Unity Coroutinue 协程未有效执行的问题
Redis1:Redis介绍、Redis基本特性、关系型数据库、非关系型数据库、数据库发展阶段
Detailed and comprehensive postman interface testing practical tutorial
Thinking (88): Use protobuf custom options for multi-version management of data
2022-08-04 The sixth group, hidden from spring, study notes
905. Interval selection
Mathematics - Properties of Summation Symbols
iMedicalLIS监听程序(2)