Skip to content

Instantly share code, notes, and snippets.

@andimariadi
Created June 1, 2017 12:53
Show Gist options
  • Save andimariadi/9415b337fb8503069ef0ac5d6a77424b to your computer and use it in GitHub Desktop.
Save andimariadi/9415b337fb8503069ef0ac5d6a77424b to your computer and use it in GitHub Desktop.
body{
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; /*Merubah jenis font yang ada didalam body */
font-size:14px; /*Merubah ukuran font yang ada didalam body */
line-height:1.42857143; /*Merubah jarak enter text yang ada didalam body */
color:#333; /*Merubah warna yang ada didalam body */
background-color:#fff; /*Merubah background body */
width: 90%;
margin: 0 auto;
}
.navigasi {
padding: 10px;
background-color: #f1f1f1;
}
nav a:hover {
text-decoration: none;
}
nav ul {
list-style: none;
}
nav ul li {
float: left;
padding: 5px 20px;
}
nav ul li:hover {
background-color: #2980b9;
-webkit-transition: all 0.8s ease-out;
-moz-transition: all 0.8s ease-out;
-ms-transition: all 0.8s ease-out;
-o-transition: all 0.8s ease-out;
transition: all 0.8s ease-out;
}
nav ul li ul {
display: none;
list-style: none;
margin-left: -20px;
}
nav ul li ul li {
float: none;
padding: 5px 20px;
margin-left: -40px;
}
nav ul li ul li:hover {
background-color: #2980b9;
-webkit-transition: all 0.8s ease-out;
-moz-transition: all 0.8s ease-out;
-ms-transition: all 0.8s ease-out;
-o-transition: all 0.8s ease-out;
transition: all 0.8s ease-out;
}
nav ul li:hover > ul {
display: block;
position: absolute;
background: #ddd;
}
nav ul li:hover > a {
color: #fff;
}
.isian {
padding: 0px 15px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment