css display属性详解
来源:互联网 发布:探索者结构设计软件 编辑:程序博客网 时间:2024/05/17 09:18
css display属性在对css做layout设计时非常重要,它的值有以下几种:Value Description Play it inlineDefault value. Displays an element as an inline element (like <span>)Play it »blockDisplays an element as a block element (like <p>)Play it »flexDisplays an element as an block-level flex container. New in CSS3 inline-blockDisplays an element as an inline-level block container. The inside of this block is formatted as block-level box, and the element itself is formatted as an inline-level box inline-flexDisplays an element as an inline-level flex container. New in CSS3 inline-tableThe element is displayed as an inline-level table list-itemLet the element behave like a <li> elementPlay it »run-inDisplays an element as either block or inline, depending on context tableLet the element behave like a <table> element table-captionLet the element behave like a <caption> element table-column-groupLet the element behave like a <colgroup> element table-header-groupLet the element behave like a <thead> element table-footer-groupLet the element behave like a <tfoot> element table-row-groupLet the element behave like a <tbody> element table-cellLet the element behave like a <td> element table-columnLet the element behave like a <col> element table-rowLet the element behave like a <tr> element noneThe element will not be displayed at all (has no effect on layout)Play it »initialSets this property to its default value. Read about initialPlay it »inheritInherits this property from its parent element. Read about inherit
阅读全文
0 0
- css display属性详解
- css display属性详解
- CSS display 属性详解
- css中display属性详解
- CSS中Display属性
- CSS display 属性
- CSS display属性
- css的display属性
- css中的display属性
- CSS------display 属性
- CSS display 属性
- CSS display 属性
- CSS display 属性
- CSS display 属性
- CSS display 属性
- css display属性
- CSS中的display属性
- css笔记-display属性
- less @import and extend及mixin详解
- 爬虫Internal server error
- CSS media query应用中的层叠特性使用最佳实践
- CSS/LESS tips and snippets
- mysql视图------第一章
- css display属性详解
- css outline属性
- 救济金发放,紫书P82UVa133
- 提高 iOS App 通知功能启用率的三个策略
- 根据viewport的size自动调整fontsize大小
- 查看域名是否支持IPv6
- html tags and attribute集参考
- javascript tips and snippets
- C语言实现一个动态内存的顺序表