markdown Grid by Example 1:定义网格

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Grid by Example 1:定义网格相关的知识,希望对你有一定的参考价值。

body {
  margin: 40px;
}

.wrapper {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  grid-gap: 10px;
  background-color: #fff;
  color: #444;
}

.box {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  padding: 20px;
  font-size: 150%;
}
<div class="wrapper">
  <div class="box a">A</div>
  <div class="box b">B</div>
  <div class="box c">C</div>
  <div class="box d">D</div>
  <div class="box e">E</div>
  <div class="box f">F</div>
</div>
Grid by Example 1: Defining a Grid
----------------------------------
For more information see: http://gridbyexample.com/examples/#example1

A [Pen](https://codepen.io/rachelandrew/pen/BNXyQa) by [rachelandrew](https://codepen.io/rachelandrew) on [CodePen](https://codepen.io).

[License](https://codepen.io/rachelandrew/pen/BNXyQa/license).

以上是关于markdown Grid by Example 1:定义网格的主要内容,如果未能解决你的问题,请参考以下文章

markdown CSS Grid Cheatsheet

markdown CSS Grid操场

markdown 使用Autoprefixer的IE11 CSS Grid

[Selenium+Java] Selenium Grid Tutorial: Command Line and JSON Example

Query By Example

[转]ui-grid User can't select the row by clicking the select checkbox available in the respective