logo1 creations web buttons navbars code editor share social images editor Contact login sitemap

CSS Grid Area Properties

  • Web html5, css3, javascript, php, sql, jquery, xml, ajax, web design & development, photo maker, SEO.
  • Online web design, along with everything you need for a complete website.
  • The grid property determines all grid properties in a single declaration. using grid you specify one axis using:
  • grid area
  • grid column
  • grid column end
  • grid column start
  • grid auto columns
  • grid auto flow
  • grid auto rows
  • grid row
  • grid row end
  • grid row start
  • grid template
  • template areas
  • template columns
  • template rows
       

grid area auto

determines item class="de" start on row 2 column 3,and span 1 rows and 2 columns.

<style>#demo{ display:grid; grid-template-columns: auto auto auto auto; grid-gap:5px; background-color:#ff3800; color:#fff; font-weight:bold; text-transform:uppercase; padding:5px; } #demo > span{ background-color:#ff7e00; text-align:center; padding:34px 14px;} .de{grid-area: 2 / 3 / span 1 / span 2;} </style> <div id="demo"> <span class="de">a</span> <span>b</span> <span>c</span> <span>d</span> <span>e</span> <span>f</span> <span>g</span> </div>

  demo
a b c d e f g

grid area myArea

grid-area myArea demo & code

<style>#demo1{ display:grid; grid-template-areas: 'netbax netbax netbax netbax netbax'; grid-gap:5px; background-color:#ff3800; color:#fff; font-weight:bold; text-transform:uppercase; padding:5px; } #demo1 > span{ background-color:#ff7e00; text-align:center; padding:34px 14px;} .demo2{grid-area:netbax;} </style> <div id="demo1"> <span class="demo2">a</span> <span>b</span> <span>c</span> <span>d</span> <span>e</span> <span>f</span> </div>

  demo
a b c d e f

syntax: grid: grid area | grid column | grid column end | grid column start | grid auto columns | grid auto flow | grid auto rows | grid row | grid row end | grid row start | grid template | grid template areas | grid template columns | grid template rows



All Basic HTML5

HTML is the main markup language for web pages, and its elements are the basic building blocks of web pages. HTML is written in the form of HTML elements consisting of tags enclosed in "greater than" and "less than" symbols within the content of the web page.


All Basic CSS3

CSS (Cascading Style Sheets) is a computer language that belongs to the category of style sheet languages used to control the appearance of a document written in a markup language.It is used to control the appearance of a document written in HTML and XHTML, that is, to control the appearance of a web page and a website in general.


js JAVASCRIPT

Javascript is a set of computer software and specifications developed by James Gosling at Sun Microsystems, later acquired by Oracle Corporation, which provides a system for developing application software and its development in a multi-platform computing environment.


CREATIONS

In this chapter I call creation I will present you creations html, css and javascript that are very useful and creative in a web site. You can get them ready-made with Netbax creations or create them yourself as you wish with the help provided by the Netbax editor.


NAVIGATION Bar

having easy-to-use horizontal & vertical menu is important for any web site. with css you can transform boring html menus into good-looking horizontal & vertical bars. horizontal & vertical menu is such an important part of your website. it’s how your visitors navigate to the main areas of your site and makes it easy for them to find.


WEB BUTTONS

Collection of hand-picked free HTML and CSS button code examples.In this article, we'll see some really cool looking responsive buttons using only a few lines of CSS.You are free to copy, modify and use this code as you wish.All the buttons shown here can scale accordingly to the font-size attribute, and should work in any relatively recent browser.

Netbax Contact Us