diff --git a/src/App.css b/src/App.css index a326381..365f6e9 100644 --- a/src/App.css +++ b/src/App.css @@ -1,3 +1,7 @@ +* { + box-sizing: border-box; +} + body { font-family: sans-serif; } diff --git a/src/Grid.css b/src/Grid.css index e526918..b8fb531 100644 --- a/src/Grid.css +++ b/src/Grid.css @@ -5,15 +5,22 @@ } .grid-item { - background: #baffbd; + background: linear-gradient(135deg, #87e0fd 0%,#53cbf1 40%,#05abe0 100%); + position: relative; float: left; width: 30rem; + min-width: 25rem; + min-height: 25rem; padding-bottom: 30rem; +} - //border-style: solid; - //border-width: 5px; +.grid-item-content { + position: absolute; + width: 100%; + height: 100%; + padding: 1rem; } @media all and (max-width: 120rem) { diff --git a/src/Grid.js b/src/Grid.js index 0a1bf60..18631a2 100644 --- a/src/Grid.js +++ b/src/Grid.js @@ -1,15 +1,33 @@ import React from 'react'; import './Grid.css'; +import logo from './logo.png'; +import GridItem from './GridItem'; + class Grid extends React.Component { render() { return (
Links
+Links
+Links
+Links
+Links
+