Untitled

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

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

.navigasi li a:hover {
  background-color: red;
  transition-duration: 1s;
}

.banner img {
  display: block;
  width: 100%;
  height: 330px;
}

.menu-kiri {
  width: 250px;
  margin-right: 10px;
  float: left;
}
.menu-tengah {
  width: 410px;
  margin-right: 10px;
  float: left;
}
.menu-tengah h3 {
  background: red;
  color: rgb(243, 238, 239);
  margin-bottom: 0;
}


.menu-kanan {
  width: 220px;
  float: left;
}
.kotak {
  border: 1px solid black;
  padding: 10px;
  margin-bottom: 15px;
}
.kotak h3 {
  background-color: crimson;
  color: white;
  text-align: center;
  padding: 10px;
  margin-bottom: 13px;
}
.kotak img {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}
.tombol {
  display: block;
  text-decoration: none;
  padding: 10px;
  width: 120px;
  color: white;
  text-align: center;
  border-radius: 5px;
}
.tombol-pesan {
  background-color: green;
}
Leave a Comment