When browsing the bootStrap page on a mobile phone, how to make the content in visible-md not loaded at all?

for example, a website has two groups of banner,: pc and mobile.
sets the pc version to visible-md visible-lg , which just hides the display.
is it actually load?
is there any way to skip these directly?

Mar.25,2021

analyzed, but the loading of the picture is more time-consuming. Use a method similar to lazy loading, do not directly set src, but use js assignment.
do not need to judge the phone, directly use jQuery: visible and: hidden
to fully respond, you may need to add resize judgment.

Menu