Code Monkey home page Code Monkey logo

grid-system's Introduction

Hello! This is a repository that I created for understand the Gryd-System and become a professional at the most scarefull part of WEB Development: RESPONSIVE. Until get there, I'll be using this repository to share my journey and also to help myself remembering the topics.

If you're reading this and have any doupt or tip/addition that can be helpfull, please contact me .

Thanks for visiting!

===== PROJECT IN PROGESS =====

Definition:

In a simple way we can define Grid System as a graphic design that divides your screen into lines and columns creating cells. The purpose of it, is to simplyfie the organization of components, pleacing them within specficly "blocks".This system provides a structured layout, making it easier to arrange and align elements on the screen

Heres an example:

How to use on your code

HTML
In your HTML, you'll need to include a container, represented by a class. The concept is akin to a real container - a box that houses elements and those ones are limited to the defined area of it

image

CSS
Here is where most of the things happen. The first thing is set the propertie grid in the container's class display

image

The next you step would set the tags grid-template-columns and grid-template-rows, which is going to define the number and size of columns and rows

image

In the example, 2 columns of 300px each is create, and also 2 rows of 1 fr each. You can add how many rows and colums you want, just need to enter a new comand like : 200px 1fr or 1rem.
This code could be improve by using the command repeat(), where you pass the number of rows/columns and sets the size

image

References
Video used in this code:
Link: https://www.youtube.com/watch?v=NvnJRLTG_5Y
Channel: Fernanda Kipper | Dev

grid-system's People

Contributors

fanfufa avatar

Watchers

 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.