GithubHelp home page GithubHelp logo

diu.grid's Introduction

DIU.Grid Plugin

What is the DIU.Grid Plugin?

The DIU.Grid Plugin is a plugin for neos cms that provides the a 12 column grid system as a basic structure. This kind of grid system is found on many web pages. The css structure is based on bootstrap 4.x. The static resources are not added in this project.

Installation

composer require diu/grid

  • Version 2.x is for Neos 4.1,4.2,3.3
  • Version 3.x is for Neos 4.2 and upcoming

How to use the DIU.Grid Plugin?

  1. Require the package in your composer.json file.

  2. Allow sections as childnodes in your content elements.

  3. Override the constraints for the grid content elements.

  4. Add CSS rules for top and bottom margins. This is necessary because breakpoints may vary between projects. An Example can be found in Resources/Private/Fusion/Components/Atom/Margin/Margin.scss. Maybe also override the allowed values in Configuration/NodeTypes.Content.Mixins.Spacing.yaml.

  5. Add in your site package necessary layouts

e.g.:

0-4-4-4 => 3 equal columns no beginning offset
2-4-4-2 => 3 columns, two 4 cols and one 2 cols with an beginning offset of two cols
TODO:
  • Add example for override

diu.grid's People

Contributors

diu-pascalfolleher avatar sophietschuden avatar akappler avatar pascalfolleher avatar grizooo avatar

Watchers

James Cloos 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.