-
-
Save capndesign/9492771 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="stylesh.css"/> | |
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | |
<script type="text/javascript" src="script1.js"></script> | |
</head> | |
<body> | |
<div id="box"> | |
Noah Manion | |
</div> | |
<div id="container"> | |
<button class="learn-more" data-target="#about">About</button> | |
<button class="learn-more" data-target="#resume">Resume</button> | |
<button class="learn-more" data-target="#social">Social</button> | |
<button class="link" onclick="location.href='http://whatsonyourmindnoah.tumblr.com'">BLOG</button> | |
</div> | |
<div class="hide" id="about"><b>About Me</b><br />With a degree in Liberal Arts, but mostly doing coursework in Urban Planning, I started working for a non-profit that works to reduce traffic congestion by promoting carpooling. There I learned some project management, marketing and analytics skills. I was always looking for ways to automate things and make processes work more smoothly. I also realized that I really liked having a hand in creating digital products.<br /><b>Why am I making a career switch?</b><br />A few years ago I was working with a software company we had contracted with to update the database that we used to match carpoolers. It was then that I realized that I really liked creating a new, groundbreaking product. When I moved to Chicago, I was able to do some professional development to help me make a career switch.</div> | |
<div class="hide" id="resume"><b>Resume</b></div> | |
<div class="hide" id="social">Twitter: @noahmanion<br /><a href="http://www.linkedin.com/pub/noah-manion/35/267/b12">LinkedIn</a><br /><a href="http://www.github.com/noahmanion">GitHub</a></div> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
var $b = $('button.learn-more'), $hide = $('.hide'); | |
$b.click(function() { | |
var target = $(this).data("target"); | |
$hide.hide(); | |
$(target).show(); | |
}) | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: Verdana, Geneva, sans-serif; | |
margin-left: 0px; | |
margin-right: 0px; | |
margin-top: 0px; | |
margin-bottom: 0px; | |
} | |
#box{ | |
background-color: #1C86EE; | |
height: 185px; | |
width: 100%; | |
margin-top: 0; | |
font-family: futura, helvetica sans-serif; | |
font-size: 72pt; | |
text-align: center; | |
padding-left: 0px; | |
padding-right: 0px; | |
padding-top: 0px; | |
padding-bottom: 0px; | |
margin-left: 0px; | |
margin-right: 0px; | |
margin-top: auto; | |
margin-bottom: auto; | |
} | |
button{ | |
height: 100px; | |
width: 200px; | |
border-style: none; | |
background-color: red; | |
border-radius: 100px; | |
font-size: 18px; | |
text-align: center; | |
margin-top: 25px; | |
margin-right: auto; | |
margin-left: auto; | |
font-family: Verdana, Geneva, sans-serif; | |
} | |
.container{ | |
position: relative; | |
} | |
button:hover{ | |
background-color: green; | |
} | |
.hide{ | |
display: none; | |
width: 50%; | |
font-family: Verdana, Geneva, sans-serif; | |
margin-right: auto; | |
text-align: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment