Git Product home page Git Product logo

css-grid-complete-guidance's Introduction

CSS-Grid-Complete-Guidance

css 网格布局完全指南,查看翻译原文地址

术语表

  • 网格布局(Grid):由网格容器网格项组合而成的现代CSS布局形式。
  • 网格容器(Grid Container):设置display:grid的元素,所有网格项(Grid Items)的直属父级元素。网格容器中的子元素也可以为网格容器——嵌套网格布局。
  • 网格项(Grid Items):网格容器的直接子元素(直属后代元素),一旦直属父元素设置为grid布局,那么这个父元素的子元素自动为网格项
  • 网格分隔线(Grid Items):组成网格基本结构的分隔线。分隔线可以是垂直的(列分隔线),也可以是水平的(行分隔线)。
  • 网格单元(Grid Items):由两个相邻行分隔线列分隔线交汇出的区域。当执行网格项定位的时候,网格项引用的最小网格单位(注:网格布局中的逻辑概念,实际中并不使用)。
  • 网格轨道(Grid Track):网格单元的一种逻辑布局形式,表示网格中的一或者一,其前身是Grid Column和Grid row。
  • 网格区域(Grid Area):网格单元的一种逻辑布局形式,指定网格分隔线包围起来的区域,包含一个或多个连续相邻的网格单元。

网格属性表

这里给出的是css属性表,不是值,不要搞错了。

网格容器(Grid Container)

网格项(Grid Items)

css-grid-complete-guidance's People

Contributors

liiked avatar

Watchers

James Cloos avatar wshcdr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.