CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS grid template Property

CSS grid-template Property

 

 

The grid-template property is a shorthand property for:-

  1. grid-template-rows
  2. grid-template-columns
  3. grid-template-areas

 

Default Value:-

 

Its default value is none none none

 

Syntax:-

 

Its syntax is:- grid-template: none | grid-template-rows / grid-template-columns | grid-template-areas | initial | inherit;

 

Further Explanation:-

 

Value Description
none  No specific sizing of the columns or rows
grid-template rows / grid-template-columns Specifies the size of the columns and rows
grid-template-areas Specifies the grid layout using named items
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS