SlideShare a Scribd company logo
1 of 14
WEB DESIGNING AND
DEVELOPMENT
BY:NAMAN GUPTA
BBACAM-5
35221001918
DATE:22-09-2020
TOPIC:CSS GRID LAYOUT MODULE
CONTENTS
 CSS(CASCADING STYLESHEETS)
 CSS GRID LAYOUT MODULE
 GRID ELEMENTS
 DISPLAY PROPERTY OF CSS GRID
 GRID ROWS AND COLUMNS
 GRID GAPS
 GRID LINES
 GRID CONTAINER
CASCADING STYLE SHEETS
(CSS)
 CSS stands for Cascading Style Sheets.
 CSS describes how HTML elements are to
be displayed on screen, paper, or in other
media.
 CSS saves a lot of work. It can control the
layout of multiple web pages all at once.
 CSS is a simple design language intended
to simplify the process of making web
pages presentable.
CSS GRID LAYOUT MODULE
The CSS Grid Layout Module offers a grid-based
layout system, with rows and columns, making it
easier to design web pages without having to use
floats and positioning.
CODING OF CSS GRID LAYOUT
<html>
<head>
<style>
.container {
display: grid;
grid: 100px / auto auto;
grid-gap: 5px;
background-color: BLACK;
padding: 10px;
}
.container div {
background-color: WHITE;
text-align: center;
padding:10px 0;
font-size: 20px;
} </style>
</head>
<body>
<div class = "container">
<div class = "GRID-ITEMS1">1</div>
<div class = "GRID-ITEM2">2</div>
<div class = "GRID-ITEM3">3</div>
<div class = "GRID-ITEM4">4</div>
<div class = "GRID-ITEM5">5</div>
<div class = "GRID-ITEM6">6</div>
</div>
</body>
</html>
GRID ELEMENTS
 A grid layout consists of a parent element, with one or more child
elements.
 You work with Grid Layout by applying CSS rules both to a parent
element (which becomes the Grid Container) and to that element’s
children (which become Grid Items)
<div class = "container">
<div class = "GRID-ITEMS1">1</div>
<div class = "GRID-ITEM2">2</div>
<div class = "GRID-ITEM3">3</div>
<div class = "GRID-ITEM4">4</div>
<div class = "GRID-ITEM5">5</div>
<div class = "GRID-ITEM6">6</div>
</div>
Display Property in GRID
DISPLAY PROPERTY
Grid
.grid-container {
display: grid;}
Inline-grid
.grid-container {
display: inline-grid;}
.
An HTML element becomes a grid container when its display property
is set to grid or inline-grid.
<html> <head>
<style>
.container {
display:inline-grid;
grid: 100px / auto auto;
grid-gap: 10px;
background-color: black;
padding: 10px }
.container div {
background-color: white;
text-align: center; padding:10px 0;
font-size: 20px; }
</style></head> <body>
<div class = "container"> <div class =
"GRIDITEMS1">1</div>
<div class = "GRID-ITEM2">2</div>
<div class = "GRID-ITEM3">3</div>
<div class = "GRID-ITEM4">4</div>
<div class = "GRID-ITEM5">5</div>
<div class = "GRID-ITEM6">6</div>
</div>
</body>
</html>
CODING AND OUTPUT OF INLINE GRID
GRID ROWS AND COLUMNS
The vertical lines of grid items are
called Grid columns.
The horizontal lines of grid items are
called Grid rows.
GRID GAPS
The spaces between each column/row are called gaps
I can adjust the gap size by using one of the following properties:
1.grid-column-gap
2.grid-row-gap
3.grid-gaps
.grid-container {
display: grid;
grid-row/column-gap: 30px;
grid-gaps: 50px,100px; }
GRID LINES
The lines between columns are called column lines. The lines between
rows are called row lines.
.GRID-ITEMS1{
GRID-COLUMN-START:1;
GRID-COLUMN-END:3;
}
GRID CONTAINER
Grid containers consist of grid items, placed inside
columns and rows.
Grid-Template-Columns/Rows Property
This defines the number of rows/columns in the grid as well as
their dimension.
The grid-template-columns property defines to specify the
size (width) of the columns.
The grid-template-rows property defines the height of each
row.
REFERENCES
 WWW.W3SCHOOLS.COM
 https://www.geeksforgeeks.org/css-
tutorials/.
 https://www.tutorialspoint.com/css
/index.htm
WEB DESIGNING AND DEVELOPMEENT.pptx

More Related Content

Similar to WEB DESIGNING AND DEVELOPMEENT.pptx

New layout models on the Web (Mobile World Congress 2014)
New layout models on the Web (Mobile World Congress 2014)New layout models on the Web (Mobile World Congress 2014)
New layout models on the Web (Mobile World Congress 2014)Igalia
 
Introduction to CSS Grid
Introduction to CSS GridIntroduction to CSS Grid
Introduction to CSS GridKara Luton
 
Css for Development
Css for DevelopmentCss for Development
Css for Developmenttsengsite
 
CSS framework By Palash
CSS framework By PalashCSS framework By Palash
CSS framework By PalashPalashBajpai
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to BootstrapRon Reiter
 
Google Developers Experts Summit 2017 - CSS Layout
Google Developers Experts Summit 2017 - CSS Layout Google Developers Experts Summit 2017 - CSS Layout
Google Developers Experts Summit 2017 - CSS Layout Rachel Andrew
 
The Future Of Digital Layout - Cutting Edge CSS Features
The Future Of Digital Layout - Cutting Edge CSS FeaturesThe Future Of Digital Layout - Cutting Edge CSS Features
The Future Of Digital Layout - Cutting Edge CSS FeaturesAndre JAY Meissner
 
2D Page Layout
2D Page Layout2D Page Layout
2D Page LayoutUnfold UI
 
CSS Walktrough Internship Course
CSS Walktrough Internship CourseCSS Walktrough Internship Course
CSS Walktrough Internship CourseZoltan Iszlai
 
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSSObject-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSSLi-Wei Lu
 
New Elements & Features in CSS3
New Elements & Features in CSS3New Elements & Features in CSS3
New Elements & Features in CSS3Jamshid Hashimi
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucksTim Wright
 
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...Scrum Breakfast Vietnam
 
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017Morten Rand-Hendriksen
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Erin M. Kidwell
 

Similar to WEB DESIGNING AND DEVELOPMEENT.pptx (20)

New layout models on the Web (Mobile World Congress 2014)
New layout models on the Web (Mobile World Congress 2014)New layout models on the Web (Mobile World Congress 2014)
New layout models on the Web (Mobile World Congress 2014)
 
Class15
Class15Class15
Class15
 
Introduction to CSS Grid
Introduction to CSS GridIntroduction to CSS Grid
Introduction to CSS Grid
 
Css for Development
Css for DevelopmentCss for Development
Css for Development
 
SMACSS Workshop
SMACSS WorkshopSMACSS Workshop
SMACSS Workshop
 
CSS framework By Palash
CSS framework By PalashCSS framework By Palash
CSS framework By Palash
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
 
The 960 Grid System
The 960 Grid SystemThe 960 Grid System
The 960 Grid System
 
Google Developers Experts Summit 2017 - CSS Layout
Google Developers Experts Summit 2017 - CSS Layout Google Developers Experts Summit 2017 - CSS Layout
Google Developers Experts Summit 2017 - CSS Layout
 
The Future Of Digital Layout - Cutting Edge CSS Features
The Future Of Digital Layout - Cutting Edge CSS FeaturesThe Future Of Digital Layout - Cutting Edge CSS Features
The Future Of Digital Layout - Cutting Edge CSS Features
 
Pfnp slides
Pfnp slidesPfnp slides
Pfnp slides
 
2D Page Layout
2D Page Layout2D Page Layout
2D Page Layout
 
CSS Walktrough Internship Course
CSS Walktrough Internship CourseCSS Walktrough Internship Course
CSS Walktrough Internship Course
 
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSSObject-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
 
New Elements & Features in CSS3
New Elements & Features in CSS3New Elements & Features in CSS3
New Elements & Features in CSS3
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
Css3
Css3Css3
Css3
 
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
CSS Flexbox and Grid: The future of website layouts - DN Scrum Breakfast - Au...
 
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017
CSS Grid Changes Everything About Web Layouts: WordCamp Europe 2017
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
 

Recently uploaded

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

WEB DESIGNING AND DEVELOPMEENT.pptx

  • 1. WEB DESIGNING AND DEVELOPMENT BY:NAMAN GUPTA BBACAM-5 35221001918 DATE:22-09-2020 TOPIC:CSS GRID LAYOUT MODULE
  • 2. CONTENTS  CSS(CASCADING STYLESHEETS)  CSS GRID LAYOUT MODULE  GRID ELEMENTS  DISPLAY PROPERTY OF CSS GRID  GRID ROWS AND COLUMNS  GRID GAPS  GRID LINES  GRID CONTAINER
  • 3. CASCADING STYLE SHEETS (CSS)  CSS stands for Cascading Style Sheets.  CSS describes how HTML elements are to be displayed on screen, paper, or in other media.  CSS saves a lot of work. It can control the layout of multiple web pages all at once.  CSS is a simple design language intended to simplify the process of making web pages presentable.
  • 4. CSS GRID LAYOUT MODULE The CSS Grid Layout Module offers a grid-based layout system, with rows and columns, making it easier to design web pages without having to use floats and positioning.
  • 5. CODING OF CSS GRID LAYOUT <html> <head> <style> .container { display: grid; grid: 100px / auto auto; grid-gap: 5px; background-color: BLACK; padding: 10px; } .container div { background-color: WHITE; text-align: center; padding:10px 0; font-size: 20px; } </style> </head> <body> <div class = "container"> <div class = "GRID-ITEMS1">1</div> <div class = "GRID-ITEM2">2</div> <div class = "GRID-ITEM3">3</div> <div class = "GRID-ITEM4">4</div> <div class = "GRID-ITEM5">5</div> <div class = "GRID-ITEM6">6</div> </div> </body> </html>
  • 6. GRID ELEMENTS  A grid layout consists of a parent element, with one or more child elements.  You work with Grid Layout by applying CSS rules both to a parent element (which becomes the Grid Container) and to that element’s children (which become Grid Items) <div class = "container"> <div class = "GRID-ITEMS1">1</div> <div class = "GRID-ITEM2">2</div> <div class = "GRID-ITEM3">3</div> <div class = "GRID-ITEM4">4</div> <div class = "GRID-ITEM5">5</div> <div class = "GRID-ITEM6">6</div> </div>
  • 7. Display Property in GRID DISPLAY PROPERTY Grid .grid-container { display: grid;} Inline-grid .grid-container { display: inline-grid;} . An HTML element becomes a grid container when its display property is set to grid or inline-grid.
  • 8. <html> <head> <style> .container { display:inline-grid; grid: 100px / auto auto; grid-gap: 10px; background-color: black; padding: 10px } .container div { background-color: white; text-align: center; padding:10px 0; font-size: 20px; } </style></head> <body> <div class = "container"> <div class = "GRIDITEMS1">1</div> <div class = "GRID-ITEM2">2</div> <div class = "GRID-ITEM3">3</div> <div class = "GRID-ITEM4">4</div> <div class = "GRID-ITEM5">5</div> <div class = "GRID-ITEM6">6</div> </div> </body> </html> CODING AND OUTPUT OF INLINE GRID
  • 9. GRID ROWS AND COLUMNS The vertical lines of grid items are called Grid columns. The horizontal lines of grid items are called Grid rows.
  • 10. GRID GAPS The spaces between each column/row are called gaps I can adjust the gap size by using one of the following properties: 1.grid-column-gap 2.grid-row-gap 3.grid-gaps .grid-container { display: grid; grid-row/column-gap: 30px; grid-gaps: 50px,100px; }
  • 11. GRID LINES The lines between columns are called column lines. The lines between rows are called row lines. .GRID-ITEMS1{ GRID-COLUMN-START:1; GRID-COLUMN-END:3; }
  • 12. GRID CONTAINER Grid containers consist of grid items, placed inside columns and rows. Grid-Template-Columns/Rows Property This defines the number of rows/columns in the grid as well as their dimension. The grid-template-columns property defines to specify the size (width) of the columns. The grid-template-rows property defines the height of each row.