Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
html,
body {
height: 100%;
}
body {
overflow: hidden;
color: white;
}
.nav {
position: fixed;
z-index: 2;
right: 30px;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.nav-item {
width: 10px;
height: 10px;
display: block;
margin: 12px auto;
border: solid 2px #ffffff;
border-radius: 50%;
cursor: pointer;
}
.nav-item:hover {
background-color: #ffffff;
}
section {
height: 100%;
display: flex;