Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
728 B
1
Indexable
Never
.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;
}