Updated css grid
This commit is contained in:
		| @@ -105,13 +105,15 @@ tr:hover { | |||||||
|   display: grid; |   display: grid; | ||||||
|   justify-content: space-evenly; |   justify-content: space-evenly; | ||||||
|   align-content: space-evenly; |   align-content: space-evenly; | ||||||
|   grid-template-columns: repeat(3, 1fr); |   grid-column-gap: 20px; | ||||||
|   grid-column-gap: auto; |  | ||||||
|   grid-row-gap: 20px; |   grid-row-gap: 20px; | ||||||
|  |   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); | ||||||
| } | } | ||||||
| .textboxGrid * { | .textboxGrid * { | ||||||
|   size: 100%; |   size: 100%; | ||||||
|   padding: 40px 80px; |   margin: 0px; | ||||||
|  |   padding: 30px 0px; | ||||||
|  |   text-align: center; | ||||||
|   background-color: #787878; |   background-color: #787878; | ||||||
| } | } | ||||||
| .textboxGrid .linkElement { | .textboxGrid .linkElement { | ||||||
|   | |||||||
| @@ -30,16 +30,19 @@ | |||||||
|     align-content: space-evenly; |     align-content: space-evenly; | ||||||
|  |  | ||||||
|     grid: { |     grid: { | ||||||
|         template-columns: repeat(3, 1fr); |         column-gap: 20px; | ||||||
|  |  | ||||||
|         column-gap: auto; |  | ||||||
|         row-gap: 20px; |         row-gap: 20px; | ||||||
|  |  | ||||||
|  |         template-columns: repeat(auto-fit, minmax(350px, 1fr)); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     * { |     * { | ||||||
|  |  | ||||||
|         size: 100%; |         size: 100%; | ||||||
|         padding: 40px 80px; |         margin: 0px; | ||||||
|  |         padding: 30px 0px; | ||||||
|  |         text-align: center; | ||||||
|  |          | ||||||
|         background-color: $grey4; |         background-color: $grey4; | ||||||
|  |  | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -12,5 +12,9 @@ | |||||||
|  |  | ||||||
|     <h1>Oppgave taskNumber</h1> |     <h1>Oppgave taskNumber</h1> | ||||||
|  |  | ||||||
|  |     <div class="center"> | ||||||
|  |  | ||||||
|  |     </div> | ||||||
|  |      | ||||||
| </body> | </body> | ||||||
| </html> | </html> | ||||||
		Reference in New Issue
	
	Block a user