JSFiddle - React, Tailwind, and code Playground
HTML
<body class="pushmenu-push">
<!-- Profile -->
<nav class="pushmenu pushmenu-left">
<h1>
Darrien Tu.
</h1>
<p>Graduated with a background in Biological Sciences and pursuing a Masters of Industrial Design at Pratt Institute. I like minimalism. I love everything from Studio Ghibli.</p>
</nav>
<div class="sidebar-right">
<div id="sidebar-miniright"> <span> Product design, photography & writing. </span>
</div>
</div>
<div id="wrapper">
<!-- Navigation1 -->
<div class="outer">
<div id="nav">
<div class="span_1_of_3">
<p> <a id="nav_list">Darrien Tu.</a>
</p>
</div>
<div class="span_1_of_3"> <a href="mailto:matthew.galloway@gmail.com">Email — Contact</a>
</div>
<div class="span_1_of_3"> <span>+1 416 783 9813 — phone</span>
</div>
</div>
</div>
<!-- Projects -->
<div class="work-subwrap"> <a href="#modal1">
<div class="image">
<img alt="" class="icon" src="work/Maru/img/maru-3.jpg">
</div></a>
<br>
</div>
<div class="section group">
<div class="work-subwrap"> <a href="#modal2">
<div class="image">
<img alt="" class="icon" src="work/Lights%20Out/_DSF0693-10.jpg">
</div></a>
<br>
</div>
</div>
<div class="section group">
<div class="col span_1_of_1"> <a href="#modal3">Modal №3</a>
</div>
</div>
<div class="section group">
<div class="col span_1_of_1"> <a href="#modal4">Modal №4</a>
</div>
</div>
<div class="section group">
<div class="col span_1_of_1"> <a href="#modal5">Modal №5</a>
</div>
</div>
<div class="section group">
<div class="col span_1_of_1"> <a...
CSS
#sidebar-miniright {
width:100%;
white-space:nowrap;
}
.sidebar-right {
position: fixed;
top: 50%;
left:79%;
/* Safari */
-webkit-transform: rotate(-270deg);
/* Firefox */
-moz-transform: rotate(-270deg);
/* IE */
-ms-transform: rotate(-270deg);
/* Opera */
-o-transform: rotate(-270deg);
transform: rotate(-270deg);
}
/* GRID OF THREE ============================================================================= */
.span_1_of_3 {
display:inline-block;
width:33%;
float:left;
}
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
@media only screen and (max-width: 480px) {
.span_1_of_3 {
width: 100%;
}
}
@charset"utf-8";
/* CSS Document */
html {
height: 100%;
}
body {
font-size: 100%;
height: 100%;
background-color: #b0c4de;
}
.pushmenu.pushmenu-left h1 {
font-size:1.2em;
width: 80%;
left:8%;
top:20%;
position:absolute;
text-align:left;
}
.pushmenu.pushmenu-left p {
font-size:0.9em;
width: 80%;
left:8%;
top:25%;
position:absolute;
text-align:left;
line-height:21px;
}
.pushmenu {
/*this is the nav*/
background: #3c3933;
font-family: Arial, Helvetics, sans-serif;
width: 20%;
font-size: 100%;
height: 100%;
top: 0;
z-index: 1000;
position:fixed;
overflow:hidden;
}
.pushmenu-left {
left: -20%;
}
.pushmenu-left.pushmenu-open {
left: 0;
}
.pushmenu-push {
overflow-x: hidden;
position: relative;
left: 0;
}
.pushmenu-push-toright {
left: 20%;
}
/*Transition*/
.pushmenu, .pushmenu-push {
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
transition: all 0.3s ease;
}
#nav_list {
cursor: pointer;
height: 27px;
width: 33px;
text-indent: -99999em;
}
#wrapper {
height: 100%;
position: relative;
}
.outer {
background-color: #e7e7e7;
height: 89%;
width:70%;
margin: 0 auto;
}
#nav {
position:...