Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!DOCTYPE html>
	<html lang="en">
		<head>
			<meta charset="utf-8"/>
			<meta name="viewport" content="width=device-width, initial-scale=1.0">
			<link rel="shortcut icon" type="image\ico" href="img\favicon.ico">
			<link rel="stylesheet" href="css/style1.css">
			<title>Mad's Social Media</title>
		</head>

		<body id="sm">

			<div class="banner">
				<h1 class="logo">Mad Designs</h1>
					<nav>
				        <ul>
				          	<li><a href="index.html">Home</a></li>
							<li><a href="gallery.html">Gallery</a></li>
							<li><a href="blog.html">Blog</a></li>
							<li><a href="portfolio.html">Portfolio</a></li>
							<li><a class="active" href="social.html">Social Media</a></li>
				        </ul>
				    </nav>
			</div>

			<div class="firstSec">
				<h1 class="page">Social Media</h1>
				    <ul>
				      	<li><a href="https://www.facebook.com/YenersWay/"><img src="img\logo\fb.png" height="80" alt="Facebook"></a></li>
						<li><a href="https://www.instagram.com/ed.techsource/"><img src="img\logo\insta.png" height="80" alt="Instagram"></a></li>
						<li><a href="https://twitter.com/elonmusk?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor"><img src="img\logo\twit.png" height="80" alt="Twitter"></a></li>
						<li><a href="https://www.youtube.com/channel/UCpprBWvibvmOlI8yJOEAAjA"><img src="img\logo\yt.png" height="80" alt="Youtube"></a></li>
			        </ul>
			</div>
			<div class="secondSec">

				<p id="bio">Kathryn Janeway was born on May 20, in Bloomington, Indiana on Earth. She was the daughter of Vice Admiral Janeway and had at least one sister, who she described as the artist in the family. Janeway was very close to her father, who taught her to look at the universe with a scientist's eye and she was devastated at his death. Her first mission after graduating the academy was as a science officer on the USS Al-Batani, where she served as Chief Science Officer during the Arias mission.
				Captain Janeway takes command of the Intrepid-class USS Voyager in 2371. Their first mission is to locate and capture a Maquis vessel last seen in the area of space known as the Badlands. While there, the Maquis ship and Voyager are transported against their will into the Delta Quadrant, 70,000 light-years away, by a massive displacement wave. The Maquis ship is destroyed while fighting the Kazon-Ogla, and although Voyager survives, there are numerous casualties. In order to protect the Ocampa, who live on a planet Voyager visits, Janeway destroys the Caretaker Array, the space station that transported the two ships to the Delta Quadrant, which provides energy to the Ocampa's planet, despite the fact that the Array may be the two ships' only chance to return home. In doing this, Janeway strands her ship and crew seven decades' travel from home.
				Her first major task is integrating the surviving Maquis and Voyager crews. Chakotay, captain of the Maquis ship, succeeds the deceased Lieutenant Commander Cavit as her first officer. Janeway also grants convicted criminal, former Starfleet officer, and accomplished pilot Tom Paris a field commission, and makes him Voyager's helmsman.
				Janeway's other interactions with her crew include helping the de-assimilated Borg Seven of Nine reclaim her individuality and humanity and advocating for the Doctor's status as a sentient being</p>

				<button><a href="form.html">Contact Me</a></button>

				<img class="heize" src="img\heize.png" alt="Heize">
			</div>

		</body>
	</html>
              
            
!

CSS

              
                *{
	margin:0;
	padding:0;
}


html{
	height: 100vh;
	width:100%;
	margin:0;
	padding:0;
}
body{
	height: 100vh;
	width:100%;
	margin:0;
	background-color:#EFA3A0; /*pink*/
	overflow-wrap:hidden;
	font-color:white;
}

h1, h2, h3, h4, h5, h6, p{
	font-family:Arial, Helvetica, sans-serif;
}
/*menu defaults*/
address a {
	font-weight: bold;
	text-decoration: none;
	color:#6BDBA5; /*med green*/
}
a:hover {
	color:#40B496; /*darker green*/
}
.banner{
	width:100%;
	max-height:200px;
	padding-top-bottom:50px;
	display:inline-block;
	background-color:#EFA3A0; /*pink*/
	text-align: center;
  	vertical-align:top;
  	position:sticky;
}
.logo {
  float:left;
  margin-left:50px;
  text-transform:uppercase;
  font-size:35px;
  font-weight:lighter;
  display:inline-block;
  color:white;
}
nav {
  float: right;
  margin-right:50px;
}
nav ul {
  margin: 25px;
  padding: 0;
  list-style: none;
}
nav li {
  display: inline-block;
  margin-left: 25px;
}
nav a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 30px;
}
nav a:hover {
  color: #B7043C; /*maroon*/
}
.active{
	color:#B7043C; /*maroon*/
}
.firstSec{
	margin:50px;
 	
}
.page{
	color:white;
	text-align:left;
	padding-top:25px;
	padding-right:15px;
	text-transform:uppercase;
	font-size:80px;
}

/*SOCIAL MEDIA*/
#sm{
	display:flex;
	flex-direction: column;
}
#sm .firstSec{
	margin:0;
	max-height:320px;
  background-color:#6F9D94; /*green*/
}
#sm .page{
	text-align:center;
	margin-top:0;
}
#sm .firstSec ul{
	float:center;
	list-style:none;
	text-align:center;
	padding:0;
	margin-top:0;
	margin-left:25px;
}
#sm .firstSec ul li{
	display:inline;
	margin-right:25px;
}
#sm .secondSec{
	justify-content:center;
	margin:0 50px;
	display:grid;
  	grid-template-columns: 50% 50%;
  	margin-top:0;
}
#bio{
	grid-column:1;
	color:white;
	float:left;
	text-indent:35px;
	font-size:22px;
	flex-wrap:wrap;
	position: relative;
	animation-name:slide;
 	animation-duration: 1.5s;
  animation-iteration-count: 1;
  padding-bottom:50px;
}

@-webkit-keyframes slide {
  from{ transform: translateX(-1500px)}
  to{ transform: translateX(0px)}
}
@-moz-keyframes slide {
  from{ transform: translateX(-1500px)}
  to{ transform: translateX(0px)}
}
@-o-keyframes slide {
  from{ transform: translateX(-1500px)}
  to{ transform: translateX(0px)}
}
@keyframes slide {
  from{ transform: translateX(-1500px)}
  to{ transform: translateX(0px)}
}
#sm button{/*contact me*/
	background-color:#6F9D94; /*green*/
	color:white;
	border-radius:5px;
	border:none;
    padding: 15px;
    text-align: center;
    text-decoration-style: none;
    font-size: 30px;
    margin: 5px;
    width:200px;
    height:80px;
    grid-column:1;
}

.heize{
	grid-column:2;
	height:auto;
	width:auto;
	bottom:0;
	right:0;
	height:70%;
	filter:drop-shadow(10px -25px 50px white);
  background-color:blue;
}
              
            
!

JS

              
                
              
            
!
999px

Console