美文网首页
CSS flex Property

CSS flex Property

作者: CheesenDorothy | 来源:发表于2018-07-05 11:17 被阅读0次

flex: flex-grow flex-shrink flex-basis|auto|initial|inherit;


flex-grow: A number specifying how much the item will grow relative to the rest of the flexible items

flex-shrink: A number specifying how much the item will shrink relative to the rest of the flexible items

flex-basis: The length of the item. 

                  Legal values: "auto", "inherit", or a number followed by "%", "px", "em" or any other length unit

auto: Same as 1 1 auto.

initial: Same as 0 1 auto.

none: Same as 0 0 auto.

inherit: Inherits this property from its parent element.

相关文章

  • CSS flex Property

    flex:flex-growflex-shrinkflex-basis|auto|initial|inherit;...

  • css flex布局详解

    css flex布局详解 css flex布局详解1css flex布局详解2

  • #flex布局(1)-父容器

    flex布局-父容器 Property #1: Display: Flex 给父容器设置display:flex ...

  • html编程技巧

    字体外部描边 Css 基于flex布局的盒子上下居中 Css 基于flex布局的盒子左右居中 Css 基于flex...

  • flex布局

    /*! https://github.com/lzxb/flex.css */ [flex], [flex] > ...

  • 小程序CSS知识点

    一、flex布局Flex 布局教程:语法篇Flex 布局教程:实例篇 二、CSS position 属性总结CSS...

  • #flex布局(2)-子元素

    Property #1: Flex-basic 改变main axis的长度,默认值是auto Property ...

  • css flex

    css flex布局 采用 Flex 布局的元素,称为 Flex 容器(flex container),简称“容器...

  • flex.css:移动端 flex 布局

    flex.css 快速布局 什么是 flex.css css3 flex 布局相信很多人已经听说过甚至已经在开发中...

  • css

    css基础css选择器css常见样式1css常见样式2CSS布局上CSS布局下flex布局塔防小游戏flex布局青...

网友评论

      本文标题:CSS flex Property

      本文链接:https://www.haomeiwen.com/subject/uanuuftx.html