<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<nav class="navbar navbar-inverse margin ">
<div class="container-fluid">
<div class="navbar-header ">
<a href="#" class="navbar-brand">Osmel Villarreal</a>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="navBar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="navBar">
<ul class="nav navbar-nav">
<li class="active"><a href="#about">About</a></li>
<li class="active"><a href="#portfolio">Portfolio</a></li>
<li class="active"><a href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
<div>
<P class="text-center">Striving to learn new things is a passion for me. Most of the time my learning comes from searching through the web for new things to embed in my head. Ive just getting started in my career in programing and web page development. Ive studied and gain
good experience over the years in networking and computer science. I have an associates as a Network Specialist which will aid in my development of my programing skills. </P>
<img class="img-circle rotate90 text-center" src="#">
<div>
</div>
<div>
</div>
</div>
<div class="homeimg-parent">
<div class="homeimg">
</div>
</div>
CSS
/* home image's parent will take up all
of body's size*/
.homeimg-parent {
/*replace this in just another container if you want it's height to be that container's height. Right now it covers the entire body*/
height: 100%;
width: 100%;
position: absolute;
/*Very low z index to ensure it's the background*/
z-index: -1000;
top: 0;
left: 0;
}
.homeimg {
background: url(https://pixabay.com/static/uploads/photo/2013/07/01/17/36/sunset-142698_960_720.jpg) no-repeat center center;
height: 100%;
max-height: 100%;
max-width: 100%;
/*maintains aspect ratio on small screens*/
min-width: 100%;
min-height: 100%;
background-size: cover;
}
nav {
opacity: .6;
}
.margin {
margin-bottom: 0px;
margin-top: 0px;
}
.rotate90 {
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
}
p {
color: white;
text-indent: 25px;
}
img {
max-width: 200px;
max-height: auto;
}
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Fiddle Pages
Your fiddles accessible under a custom domain and a vanity path - the simplest hosting for your personal project.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Get Fiddle Pages with PRO
Your fiddles accessible under a custom domain and a vanity path - the simplest hosting for your personal project.