search

Home  >  Q&A  >  body text

javascript - The master of tab effect will analyze the html code

How to achieve this effect

http://www.sephora.cn/ Where to find all the brands

PHPzPHPz2737 days ago509

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-19 10:17:51

    Go to the picture above, and when the mouse moves over all the brands, just remove the changeBox display to display them.
    As for selecting letters and displaying brands, the pictures you see are composed of multiple ps. As long as you click on a certain letter column, jq gets the key value of the column, and then reads the corresponding position of the object's changeDetail column under the corresponding changeNav, and gives it Add blur style, other sibling elements will remove blur style

    reply
    0
  • Cancelreply