<div class="search"> <div class="search-box"> <div class="search-field"> <input placeholder="Search..." class="input" type="text"> <div class="search-box-icon"> <button class="btn-icon-content"> <i class="search-icon"> <svg xmlns="://www.w3.org/2000/svg" version="1.1" viewBox="0 0 512 512"><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z" fill="#fff"></path></svg> </i> </button> </div> </div>
.search { --input-line: #cccccc; --input-text-color: #808080; --input-text-hover-color: transparent; --input-border-color: #808080; --input-border-hover-color: #999999; --input-bg-color: #333333; --search-max-width: 250px; --search-min-width: 150px; --border-radius: 5px; --transition-cubic-bezier: 150ms cubic-bezier(0.4,0,0.2,1); }