Untitled

 avatar
unknown
plain_text
2 years ago
728 B
4
Indexable
.search-container {
  display: flex;
  justify-content: center;
  margin-top: 2em;
}

.inputbar {
  border-radius: 25px;
  padding-right: 50px; /* add padding to the right to make room for the button */
}

.search {
  position: relative; /* set position to relative for absolute positioning */
  background-color: #f8ede3;
  display: flex;
  align-items: center;
  border-radius: 30px;
  overflow: hidden;
  padding: 0 1em;
}

.searchbutton {
  background-color: #f8ede3;
  position: absolute; /* set position to absolute for positioning inside search */
  right: 10px; /* adjust as needed */
  top: 50%;
  transform: translateY(-50%);
  border-radius: 30px;
  overflow: hidden;
  padding: 0 1em;
}
Editor is loading...