What's the most efficient way to hide content for a mobile version of a site?

前端 未结 5 1929
说谎
说谎 2021-01-20 16:03

I\'m working on a mobile version of a large site. There\'s a lot of content from the full site that\'s not needed for mobile.

What is the best way to hide this? i.e

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-20 16:31

    The most efficient way will be to not include the content on the page in the first place.

    Mobile users will thank you for not wasting their data tariff with elements that are not shown on the page and will be happy if they don't need JavaScript in order to view the page correctly.

提交回复
热议问题