Professional Documents
Culture Documents
.menu{
display: flex;
}
.menu li a{
padding: 10px 25px;
}
nav .brand {
font-size: xx-large;
font-weight: bold;
}
nav .brand a{
color: white;
text-decoration: none;
}
nav .menu li a{
color: white;
text-decoration: none;
font-weight: 600;
}
nav .menu li {
list-style: none;
padding: 10px;
}
/responsisive Breakpoint/
@media screen and ( max-width: 768px) {
nav ul{
width: 50%;
}
}
/* ukuran mobile */
@media screen and (max-width: 576px) {
nav ul {
display: none;
}
}
.title{
position: absolute;
top: 40%;
left: 30%;
transform: translate(-50%;-50%);
}
.title h2{
display: flex;
font-family: sans-serif;
color: #0033cc;
font-size: 35px;
}
.button{
position: absolute;
top: 55%;
left: 35%;
transform: translate(-100%-100%);
}
.btn1{
border: 1px solid #00ff00;
padding: 10px 30px;
color: #00ff00;
text-decoration: none;
transition: 0.6s ease;
border-radius: 5px;
margin: 10px;
}
.btn1:hover{
background-color: #00ff00;
color: black;
}
<div class="button">
<a href="#" class="btn1">Sistem Informasi</a>
<a href="#" class="btn1">Statistika</a>
<a href="#" class="btn1">Teknik Lingkungan</a>
</div>
<div class="title">
<h2>Lembaga Penjaminan Mutu ISTNUBA</h2>
</div>