Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 92 additions & 1 deletion great-idea/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,95 @@ h1, h2, h3, h4, h5 {
margin-bottom: 15px;
}

/* Copy and paste your work from yesterday here and start to refactor into flexbox */
/* Copy and paste your work from yesterday here and start to refactor into flexbox */

nav {
display: flex;
width: 80%;
justify-content: space-between;

}

nav a {
margin-left: 5%;
padding: 3%;
}

nav img {
margin-left: 5%;
margin-top: 2%;
}
.first-section {
display:flex;
margin: 5%;
width: 80%;
height: 40%;
}

.cta-container {
width: 50%;
font-size: 3rem;
text-align: center;
margin-left: 15%;
display: flex;
justify-content: space-between;

}

.button {
border: 3px solid black;
margin-top: 7%;
padding: 1%;
text-align: center;
}

.img1 {
width: 40%;
margin-left: 12%;
display: flex;
height: 90%;
margin-top: 10%;
justify-content: space-between;

}

.second-section {
display: flex;
justify-content: space-around;
padding: 5%;
}

.sec1-article {
width: 30%;
height: 40%;
display:
margin: 5%;
}

.middle-img {
text-align: center;
width: 80%;
margin-left: 5%;


}

.sec2-article {
width: 20%;
height: 30%;
margin: 5%;

}

.third-section {
display: flex;
}

.contact-section span {
margin-top: 5%;
}

.copyright {
margin-top: 5%;
text-align: center;
}
67 changes: 65 additions & 2 deletions great-idea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,72 @@
</head>

<body>

<!-- Copy and paste your HTML from the first UI project here -->

<nav>
<a>Services</a>
<a> Product</a>
<a>Vision</a>
<a>Features</a>
<a>About</a>
<a>Contact</a>

<img class="logo" src="img/logo.png" alt="Great Idea! Company logo.">
</nav>
<section class="first-section">
<div class="cta-container">
<div class="call-to-action">
<h1>Innovation</h1>
<h1>On</h1>
<h1>Demand</h1>
<div class="button">Get Started</div>
</div>
<div class="img1" >
<img src="img/header-img.png" alt="Image of a code snippet.">
</div>
</div>
</section>
<hr>
<section class="second-section">
<article class="sec1-article">
<h2>Features</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi.
Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</article>
<article class="sec1-article">
<h2>About</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi.
Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</article>
</section>
<img class="middle-img" src="img/mid-page-accent.jpg" alt="Image of code snippets across the screen">
<section class="third-section">
<article class="sec2-article">
<h2>Services</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi.
Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</article>
<article class="sec2-article">
<h2>Product</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi.
Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</article>
<article class="sec2-article">
<h2>Vision</h2>
<p>Aliquam elementum magna eros, ac posuere elvit tempus et. Suspendisse vel tempus odio, in interdutm nisi.
Suspendisse eu ornare nisl. Nullam convallis augue justo, at imperdiet metus scelerisque quis.</p>
</article>
</section>
<hr>
<section class="contact-section">
<h2>Contact</h2>
<p>123 Way 456 Street</p>
<p>Somewhere, USA</p>
<p><span>1 (888) 888-8888</span></p>
<p><span>@greatidea.io</span></p>
</section>
<footer>
<p class="copyright">Copyright Great Idea! 2018</p>
</footer>

</body>
</html>