<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="author" content="name">
<meta name="description" content="description here">
<meta name="keywords" content="keywords,here">
<link rel="stylesheet" type="text/css" href="scripts/website_02.css">
<title>CTC Imagery</title>
</head>
<body>
<!-- MENU -->
<!-- MENU -->
<!-- MENU -->
<input type="checkbox" id="menu_checkbox">
<label for="menu_checkbox" id="menu_label">=</label>
<div id="menu_container">
<div id="menu_header"><p>MENU</p></div>
<div id="menu_links">
<a href="#home">Home</a>
<a href="#link_1">Link 1</a>
<a href="#link_2">Link 2</a>
<a href="#link_3">Link 3</a>
<a href="#about">About</a>
<a href="#contact">Contact</a>
</div>
</div>
<!-- MENU -->
<!-- MENU -->
<!-- MENU -->
<div id="home">
<h1>HOME</h1>
<p>Welcome to the home page.</p>
</div>
<div id="link_1">
<h1>LINK 1</h1>
<p>Welcome to the Link 1 page.</p>
</div>
<div id="link_2">
<h1>LINK 2</h1>
<p>Welcome to the Link 2 page.</p>
</div>
<div id="link_3">
<h1>LINK 3</h1>
<p>Welcome to the Link 3 page.</p>
</div>
<div id="about">
<h1>ABOUT</h1>
<p>Welcome to the About page.</p>
</div>
<div id="contact">
<h1>CONTACT</h1>
<p>Welcome to the Contact page.</p>
</div>
</body>
</html>
body {
margin: 0;
padding: 0;
background-color: rgb(25, 25, 25);
color: white;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
h1 {
color: cyan;
}
p {
color: darkcyan;
}
/*-- MENU --*/
/*-- MENU --*/
/*-- MENU --*/
#menu_label {
position: absolute;
top: 0;
left: 0;
width: 50px;
height: 50px;
z-index: 90000;
cursor: pointer;
text-align: center;
font-size: 30px;
line-height: 50px;
color: rgba(0, 255, 255, .5);
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#menu_label:hover {
color: cyan;
text-shadow: 0px 0px 10px cyan;
}
#menu_container {
position: absolute;
top: 125px;
left: -300px;
width: 200px;
height: 350px;
background-color: rgb(0, 90, 90);
opacity: 0;
box-shadow: -10px 30px 10px 1px rgba(0, 0, 0, .5);
z-index: 99999;
-webkit-transform: skewY(-10deg);
-moz-transform: skewY(-10deg);
transform: skewY(-10deg);
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#menu_container::before {
content: "";
position: absolute;
top: -14px;
left: -7px;
width: 100%;
height: 4%;
background-color: rgb(0, 110, 110);
z-index: 99999;
-webkit-transform: skewX(45deg);
-moz-transform: skewX(45deg);
transform: skewX(45deg);
}
#menu_container::after {
content: "";
position: absolute;
top: -7px;
left: -14px;
width: 7%;
height: 100%;
background-color: rgb(0, 70, 70);
z-index: 99999;
-webkit-transform: skewY(45deg);
-moz-transform: skewY(45deg);
transform: skewY(45deg);
}
#menu_header {
width: 100%;
height: 60px;
margin-top: -10px;
margin-left: -100px;
margin-bottom: 5px;
box-shadow: -5px -5px 5px 0px rgba(0, 0, 0, .5);
opacity: 0;
color: rgba(0, 255, 255, .6);
text-align: center;
line-height: 60px;
background: -webkit-linear-gradient(rgba(0, 139, 139, .5), rgba(0, 0, 0, .6));
background: -moz-linear-gradient(rgba(0, 139, 139, .5), rgba(0, 0, 0, .6));
background: linear-gradient(rgba(0, 139, 139, .5), rgba(0, 0, 0, .6));
-webkit-transform: translateX(5px) translateY(5px);
-moz-transform: translateX(5px) translateY(5px);
transform: translateX(5px) translateY(5px);
-webkit-transition: all .5s ease-out;
-moz-transition: all .5s ease-out;
transition: all .5s ease-out;
}
#menu_links a {
text-decoration: none;
display: block;
width: 100%;
height: 40px;
margin-left: -100px;
margin-bottom: 9px;
background-color: rgba(0, 0, 0, .5);
box-shadow: -5px -5px 5px 0px rgba(0, 0, 0, .5);
border-left: solid thin rgba(0, 139, 139, .25);
opacity: 0;
color: rgba(0, 255, 255, .6);
line-height: 40px;
text-indent: 5px;
-webkit-transform: translateX(5px) translateY(5px);
-moz-transform: translateX(5px) translateY(5px);
transform: translateX(5px) translateY(5px);
-webkit-transition: all .5s ease-in;
-moz-transition: all .5s ease-in;
transition: all .5s ease-in;
}
#menu_links a:hover {
color: cyan;
text-indent: 10px;
background-color: rgba(0, 0, 0, .65);
box-shadow: -10px -5px 5px 0px rgba(0, 0, 0, .5);
border-left: solid thin cyan;
-webkit-transform: translateX(10px) translateY(10px);
-moz-transform: translateX(10px) translateY(10px);
transform: translateX(10px) translateY(10px);
-webkit-transition: all .25s ease-out;
-moz-transition: all .25s ease-out;
transition: all .25s ease-out;
}
#menu_checkbox {
display: none;
}
#menu_checkbox:checked ~ #menu_container {
top: 50px;
left: 75px;
opacity: 1;
}
#menu_checkbox:checked ~ #menu_container > #menu_header {
opacity: 1;
margin-left: 0;
}
#menu_checkbox:checked ~ #menu_container > #menu_links a {
opacity: 1;
margin-left: 0;
}
@media (max-width: 700px) {
#menu_container {
width: 100px;
}
#menu_checkbox:checked ~ #menu_container {
top: 50px;
left: 25px;
opacity: 1;
}
#menu_container::after {
content: "";
position: absolute;
top: -7px;
left: -14px;
width: 14%;
height: 100%;
background-color: rgb(0, 70, 70);
z-index: 99999;
-webkit-transform: skewY(45deg);
-moz-transform: skewY(45deg);
transform: skewY(45deg);
}
}
/*-- MENU --*/
/*-- MENU --*/
/*-- MENU --*/
#home {
position: absolute;
top: 0;
left: 5%;
display: block;
width: 90%;
height: 0px;
margin-top: 110px;
background: -webkit-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: -moz-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
opacity: 0;
z-index: -99999;
text-align: center;
-webkit-transform: skewY(-10deg);
-moz-transform: skewY(-10deg);
transform: skewY(-10deg);
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#home::before {
content: "";
position: absolute;
top: -21px;
left: -10px;
width: 100%;
height: 4%;
background-color: rgb(70, 70, 70);
z-index: 99999;
-webkit-transform: skewX(45deg);
-moz-transform: skewX(45deg);
transform: skewX(45deg);
}
#home::after {
content: "";
position: absolute;
top: -10px;
left: -21px;
width: 20px;
height: 100%;
background: -webkit-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: -moz-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
z-index: 99999;
-webkit-transform: skewY(45deg);
-moz-transform: skewY(45deg);
transform: skewY(45deg);
}
#home:target {
height: 500px;
opacity: 1;
-webkit-transition-delay: .25s;
-moz-transition-delay: .25s;
transition-delay: .25s;
}
#home h1 {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#home:target h1 {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .4s;
-moz-transition-delay: .4s;
transition-delay: .4s;
}
#home p {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#home:target p {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .5s;
-moz-transition-delay: .5s;
transition-delay: .5s;
}
#link_1 {
position: absolute;
top: 0;
left: 5%;
display: block;
width: 90%;
height: 0px;
margin-top: 110px;
background: -webkit-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: -moz-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
opacity: 0;
z-index: -99999;
text-align: center;
-webkit-transform: skewY(-10deg);
-moz-transform: skewY(-10deg);
transform: skewY(-10deg);
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#link_1::before {
content: "";
position: absolute;
top: -21px;
left: -10px;
width: 100%;
height: 4%;
background-color: rgb(70, 70, 70);
z-index: 99999;
-webkit-transform: skewX(45deg);
-moz-transform: skewX(45deg);
transform: skewX(45deg);
}
#link_1::after {
content: "";
position: absolute;
top: -10px;
left: -21px;
width: 20px;
height: 100%;
background: -webkit-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: -moz-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
z-index: 99999;
-webkit-transform: skewY(45deg);
-moz-transform: skewY(45deg);
transform: skewY(45deg);
}
#link_1:target {
height: 500px;
opacity: 1;
-webkit-transition-delay: .25s;
-moz-transition-delay: .25s;
transition-delay: .25s;
}
#link_1 h1 {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#link_1:target h1 {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .4s;
-moz-transition-delay: .4s;
transition-delay: .4s;
}
#link_1 p {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#link_1:target p {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .5s;
-moz-transition-delay: .5s;
transition-delay: .5s;
}
#link_2 {
position: absolute;
top: 0;
left: 5%;
display: block;
width: 90%;
height: 0px;
margin-top: 110px;
background: -webkit-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: -moz-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
opacity: 0;
z-index: -99999;
text-align: center;
-webkit-transform: skewY(-10deg);
-moz-transform: skewY(-10deg);
transform: skewY(-10deg);
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#link_2::before {
content: "";
position: absolute;
top: -21px;
left: -10px;
width: 100%;
height: 4%;
background-color: rgb(70, 70, 70);
z-index: 99999;
-webkit-transform: skewX(45deg);
-moz-transform: skewX(45deg);
transform: skewX(45deg);
}
#link_2::after {
content: "";
position: absolute;
top: -10px;
left: -21px;
width: 20px;
height: 100%;
background: -webkit-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: -moz-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
z-index: 99999;
-webkit-transform: skewY(45deg);
-moz-transform: skewY(45deg);
transform: skewY(45deg);
}
#link_2:target {
height: 500px;
opacity: 1;
-webkit-transition-delay: .25s;
-moz-transition-delay: .25s;
transition-delay: .25s;
}
#link_2 h1 {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#link_2:target h1 {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .4s;
-moz-transition-delay: .4s;
transition-delay: .4s;
}
#link_2 p {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#link_2:target p {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .5s;
-moz-transition-delay: .5s;
transition-delay: .5s;
}
#link_3 {
position: absolute;
top: 0;
left: 5%;
display: block;
width: 90%;
height: 0px;
margin-top: 110px;
background: -webkit-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: -moz-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
opacity: 0;
z-index: -99999;
text-align: center;
-webkit-transform: skewY(-10deg);
-moz-transform: skewY(-10deg);
transform: skewY(-10deg);
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#link_3::before {
content: "";
position: absolute;
top: -21px;
left: -10px;
width: 100%;
height: 4%;
background-color: rgb(70, 70, 70);
z-index: 99999;
-webkit-transform: skewX(45deg);
-moz-transform: skewX(45deg);
transform: skewX(45deg);
}
#link_3::after {
content: "";
position: absolute;
top: -10px;
left: -21px;
width: 20px;
height: 100%;
background: -webkit-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: -moz-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
z-index: 99999;
-webkit-transform: skewY(45deg);
-moz-transform: skewY(45deg);
transform: skewY(45deg);
}
#link_3:target {
height: 500px;
opacity: 1;
-webkit-transition-delay: .25s;
-moz-transition-delay: .25s;
transition-delay: .25s;
}
#link_3 h1 {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#link_3:target h1 {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .4s;
-moz-transition-delay: .4s;
transition-delay: .4s;
}
#link_3 p {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#link_3:target p {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .5s;
-moz-transition-delay: .5s;
transition-delay: .5s;
}
#about {
position: absolute;
top: 0;
left: 5%;
display: block;
width: 90%;
height: 0px;
margin-top: 110px;
background: -webkit-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: -moz-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
opacity: 0;
z-index: -99999;
text-align: center;
-webkit-transform: skewY(-10deg);
-moz-transform: skewY(-10deg);
transform: skewY(-10deg);
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#about::before {
content: "";
position: absolute;
top: -21px;
left: -10px;
width: 100%;
height: 4%;
background-color: rgb(70, 70, 70);
z-index: 99999;
-webkit-transform: skewX(45deg);
-moz-transform: skewX(45deg);
transform: skewX(45deg);
}
#about::after {
content: "";
position: absolute;
top: -10px;
left: -21px;
width: 20px;
height: 100%;
background: -webkit-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: -moz-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
z-index: 99999;
-webkit-transform: skewY(45deg);
-moz-transform: skewY(45deg);
transform: skewY(45deg);
}
#about:target {
height: 500px;
opacity: 1;
-webkit-transition-delay: .25s;
-moz-transition-delay: .25s;
transition-delay: .25s;
}
#about h1 {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#about:target h1 {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .4s;
-moz-transition-delay: .4s;
transition-delay: .4s;
}
#about p {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#about:target p {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .5s;
-moz-transition-delay: .5s;
transition-delay: .5s;
}
#contact {
position: absolute;
top: 0;
left: 5%;
display: block;
width: 90%;
height: 0px;
margin-top: 110px;
background: -webkit-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: -moz-linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
background: linear-gradient(rgb(40, 40, 40), rgb(60, 60, 60));
opacity: 0;
z-index: -99999;
text-align: center;
-webkit-transform: skewY(-10deg);
-moz-transform: skewY(-10deg);
transform: skewY(-10deg);
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#contact::before {
content: "";
position: absolute;
top: -21px;
left: -10px;
width: 100%;
height: 4%;
background-color: rgb(70, 70, 70);
z-index: 99999;
-webkit-transform: skewX(45deg);
-moz-transform: skewX(45deg);
transform: skewX(45deg);
}
#contact::after {
content: "";
position: absolute;
top: -10px;
left: -21px;
width: 20px;
height: 100%;
background: -webkit-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: -moz-linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
background: linear-gradient(rgb(30, 30, 30), rgb(50, 50, 50));
z-index: 99999;
-webkit-transform: skewY(45deg);
-moz-transform: skewY(45deg);
transform: skewY(45deg);
}
#contact:target {
height: 500px;
opacity: 1;
-webkit-transition-delay: .25s;
-moz-transition-delay: .25s;
transition-delay: .25s;
}
#contact h1 {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#contact:target h1 {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .4s;
-moz-transition-delay: .4s;
transition-delay: .4s;
}
#contact p {
margin-left: -50px;
opacity: 0;
-webkit-transition: all .5s cubic-bezier(0, .5, .25, 1);
-moz-transition: all .5s cubic-bezier(0, .5, .25, 1);
transition: all .5s cubic-bezier(0, .5, .25, 1);
}
#contact:target p {
margin-left: 0;
opacity: 1;
-webkit-transition-delay: .5s;
-moz-transition-delay: .5s;
transition-delay: .5s;
}
@media (max-width: 700px) {
#contact {
left: 10%;
width: 80%;
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.