Add a img on the search bar?

Flip

New Member
#1
How do i add a img on the search bar???
I tried...
HTML:
Mã:
< input id="Main-Nav-SearchBar" type="text" placeholder="Search..."
<img src="Images/Icons/icons8-search-24-02.png">>
CSS:
Mã:
#Main-Nav-SearchBar {
      border-bottom: 1px solid #73ff3c;
      border-left: 0;
      border-top: 0;
      border-right: 0;
      background-color: #313131;
      outline: none;
      display: right;
      color: #73ff3c;
      padding: 5px;
      margin-right: 20px;
  }

  #Main-Nav-SearchBar::placeholder {
    color: #73ff3c;
  }
 

Từ khóa phổ biến

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top