定制 candygs/candy-grid-system 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

candygs/candy-grid-system

Composer 安装命令:

composer require candygs/candy-grid-system

包简介

The simple and intuitive grid, configurable layout for your every need... Designed and optimized to improve the development of a website. You can choose for 12, 16 or 24 columns.

README 文档

README

Quick start

HTML:

To use the Grid, you need to include the file with Grid number 12, 16 or 24 that you want to use in the section <head> of the page.

<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/candy-grid-system/2.0.0/12-candygs.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/candy-grid-system/2.0.0/16-candygs.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/candy-grid-system/2.0.0/24-candygs.min.css">

candygs : This class is required to use to set the values of the grids.

<body class="candygs">
    <div class="container">
        <div class="..."></div>
    </div>
</body>

fluid : This class is required to have a fluid layout, setting the width of the container to 100%.

<body class="candygs fluid">
    <div class="container">
        <div class="..."></div>
    </div>
</body>

container : It has a default width for each resolution - 720px - 960px - 1200px - 1560px - 1920px

<body class="candygs">
    <div class="container">
        <div class="..."></div>
    </div>
</body>

It is possible to set a minimum width and / or maximum container

  • min-widht container :

    • min-sm : Set up a min-width to the container, which will be no smaller than 720px
    • min-md : Set up a min-width to the container, which will be no smaller than 960px
  • max-widht container :

    • max-sm : Set up a max-width to the container, which will be no larger than 720px
    • max-md : Set up a max-width to the container, which will be no larger than 960px
    • max-lg : Set up a max-width to the container, which will be no larger than 1200px
    • max-xl : Set up a max-width to the container, which will be no larger than 1560px
<body class="candygs min-sm max-lg">
    <div class="container">
        <div class="..."></div>
    </div>
    <div class="container">
        <div class="..."></div>
    </div>
</body>

Now you can set the grids depending on your needs.

<body class="candygs">
	<div class="container">
		<div class="grid-8">
			<div class="row">
				<div class="grid-6"></div>
				<div class="grid-6"></div>
			</div>
		</div>
		<div class="grid-4"></div>
	</div>
</body>

You can also choose different values, depending on the screen resolution.

  • grid- : For all resolutions
  • grid-xs- : Only for mobile @media (max-width: 767px)
  • grid-sm- : @media (min-width: 768px)
  • grid-md- : @media (min-width: 992px)
  • grid-lg- : @media (min-width: 1200px)
  • grid-xl- : @media (min-width: 1560px)
  • grid-xxl- : @media (min-width: 1920px)
<body class="candygs">
	<div class="container">
		<div class="grid-xs-8 grid-sm-8 grid-md-7 grid-lg-6 grid-xl-5 grid-xxl-4"></div>
		<div class="grid-xs-4 grid-sm-4 grid-md-5 grid-lg-6 grid-xl-7 grid-xxl-8"></div>
	</div>
</body>

In additon to the class grid-, you can select:

  • prefix-
  • suffix-
  • push-
  • pull-

Depending on your needs, choose the same variables as the grid-.

LESS:

Coming soon


SASS:

Coming soon


PSD:

Download psd templates.

Author

Created by Andrea Mariotti. See the official site for more info: http://candygridsystem.com

Copyright and license

Code and documentation copyright 2016 Andrea Mariotti Code released under the MIT license.

Thanks

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 2
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固