javascript - Image Split Drawer Drop Down Menu -


i love functionality of drop down menu on site: https://squareup.com/

i see it's pretty standard drawer-style drop down, question how image split that. after inspecting code i'm pretty sure don't use 2 images. advice or on appreciated!

the image indeed appear twice. if run selector you'll find them.

$('.home-page .hero .image, .home-page .banner .image') 

the second part of image starts first image cut off dropdown, giving illusion image split two.

media="screen" @media (min-width: 718px) .hero-image-split .hero .image {     background-position: 50% -73px !important; } 

for couldn't find split, occurs when click on "business types" or "products" on navbar.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -