Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions triangles.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,23 @@ html, body {
float: left;
}

#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
}

#sidebar {
position: fixed;
width: 50px;
height: 100%;
background-color: #1b2126;
right: 0;
cursor: pointer;
z-index: 3;
}

.sideways {
Expand Down
1 change: 1 addition & 0 deletions triangles.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
</head>

<body>
<div id="overlay"></div>
<div id="container"></div>
<div id="sidebar"><div class="sideways">Disappear</div></div>
</body>
Expand Down