title: How does faded text effect on Google search work?
body: <p>While searching on Google, the autocomplete results show up below, just like many other sites. </p>
  
  <p>But apart from that, there's a <strong>faded text autocomplete</strong> for the most probable search query that appears in the <strong>input box itself</strong> without changing the position of the cursor. See the attached screenshot. I checked the console, but nothing useful there. </p>
  
  <p><img src="https://i.stack.imgur.com/G69po.png" alt="enter image description here"></p>
  
  <p>How is an effect like that achieved?</p>