Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to make a 3*3 grid using html,css and javascript

.grid {
  display: table;
  border-spacing: 2px
}
.row {
  display: table-row
}
.cell {
  width: 100px;
  height: 100px;
  background: black;
  display: table-cell;
}
.row div:last-child {
  background: blue
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #grid #javascript
ADD COMMENT
Topic
Name
1+7 =