Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
1.1 kB
7
Indexable
Never
.badan-utama {
  max-width: 100%;
  margin: 20px auto;
  padding: 15px;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
}

header {
  background-color: crimson;
  color: white;
  padding: 20px;
}
header h2 {
  font-size: 35px;
  margin-bottom: 7px;
}
.navigasi ul {
  list-style-type: none;
  background-color: darkorange;
  font-size: 20px;
  font-weight: bold;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.navigasi li {
  float: left;
}
.navigasi li a {
  text-decoration: none;
  padding: 10px 20px;
  color: white;
  display: block;
  text-align: center;
}

.navigasi li a:hover {
  background-color: red;
  transition-duration: 1s;
}
.banner img {
  display: block;
  width: 100%;
  height: auto;
}
.menu-kiri {
  width: 250px;
  margin-right: 10px;
  float: left;
}
.kotak {
  border: 1px solid red;
  padding: 10px;
  margin-bottom: 15px;
}
.menu-tengah {
  width: 410px;
  margin-right: 10px;
  float: left;
}
.kotak img {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

Leave a Comment