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
132 changes: 131 additions & 1 deletion great-idea-website/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,134 @@ h1, h2, h3, h4, h5 {
margin-bottom: 15px;
}

/* Your code starts here! */
/* Your code starts here! */

@keyframes buttonfadein {
from {background-color: white;}
to {background-color: black;}
}

@keyframes buttonfadeout {
from {background-color: black;}
to {background-color: white;}
}

body {
padding: 2% 10%;
}

hr {
border: 1px solid black;
}

nav {
display: inline-block;
width: 84%;
}

nav li {
float: left;
margin-left: 10%;
}

nav a {
text-decoration: none;
color: gray;
}

nav a:hover {
color: black;
}

.section-one {
width: 100%;
margin: 5% 0;
}

.section-one div {
width: 60%;
display: inline-block;
font-size: 6rem;
text-align: center;
}

.section-one img {
width: 39%;
}

button {
display: inline-block;
border: 2px solid black;
font-size: 1.5rem;
padding: 3% 10%;
animation-name: buttonfadeout;
animation-duration: .5s;
}

button:hover {
background-color: black;
animation-name: buttonfadein;
animation-duration: .5s;
color: white;
}

.section-two {
margin: 3% 0;
display: inline-block;
}

.section-two h2 {
font-size: 1.2rem;
}

.section-two .features-div {
width: 49%;
display: inline-block;
}

.section-two .about-div {
width: 49%;
display: inline-block;
margin-left: 1%;
}

.mid-page-pic {
width: 100%;
}

.section-three {
width: 100%;
display: inline-block;
margin: 3% 0;
}

.section-three h2 {
font-size: 1.2rem;
}

.section-three .services {
width: 32%;
display: inline-block;
}

.section-three .products {
width: 32%;
display: inline-block;
margin-left: 1.5%;
}

.section-three .vision {
width: 32%;
display: inline-block;
margin-left: 1.5%;
}

.section-four {
margin-top: 5%;
}

.copyright {
text-align: center;
margin-top: 3%;
margin-bottom: 5%;
}
108 changes: 65 additions & 43 deletions great-idea-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,49 +15,71 @@
</head>

<body>

Services
Product
Vision
Features
About
Contact

<img class="logo" src="img/logo.png" alt="Great Idea! Company logo.">
Innovation
On
Demand

Get Started

<img src="img/header-img.png" alt="Image of a code snippet.">

Features
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.


About
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.

<img class="middle-img" src="img/mid-page-accent.jpg" alt="Image of code snippets across the screen">

Services
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.


Product
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.

Vision
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.

Contact
123 Way 456 Street
Somewhere, USA
1 (888) 888-8888
sales@greatidea.io

Copyright Great Idea! 2018
<nav>
<ul>
<li><a href="#">Services</a></li>
<li><a href="#">Product</a></li>
<li><a href="#">Vision</a></li>
<li><a href="#">Features</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<img class="logo" src="img/logo.png" alt="Great Idea! Company logo.">

<section class="section-one">
<div>
<h1>Innovation<br>
On<br>
Demand</h1>
<button>Get Started</button>
</div>
<img src="img/header-img.png" alt="Image of a code snippet.">
</section>

<hr />

<section class="section-two">
<div class="features-div">
<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>
</div>
<div class="about-div">
<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>
</div>
</section>

<img class="mid-page-pic" src="img/mid-page-accent.jpg" alt="mid page accent">

<section class="section-three">
<div class="services">
<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>
</div>
<div class="products">
<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>
</div>
<div class="vision">
<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>
</div>
</section>

<hr />

<section class="section-four">
<h2>Contact</h2>
<address>
123 Way 456 Street<br>
Somewhere, USA<br><br>
1 (888) 888-8888<br><br>
sales@greatidea.io<br>
</address>
</section>

<p class="copyright">Copyright Great Idea! 2018</p>

</body>
</html>