I am working on designing a layout that looks like this:
https://i.sstatic.net/jAaXL.jpg
I have set the wrapper as a class and aim to center everything on the screen.
Aside from the wrapper, I also want to make the text and form equal sizes.
Here is the current CSS I have:
.wrapper {
display: grid;
grid-gap: 20px;
border: 1px solid red;
}
.navbar {
display: grid;
}
a#logo {
width: 212px;
height: 41px;
}
.hero {
display: grid;
grid-template-areas: "hero-text hero-video";
}
.hero-text {
grid-area: hero-text;
border: 1px solid green;
}
.hero-form {
grid-area: hero-video;
border: 1px solid green;
}
If you have any suggestions on how I can quickly achieve the layout below, please let me know. You can view my code here: https://jsfiddle.net/f14qxLf5/1/
Feel free to make any modifications. Still learning here!