Thread:Extension talk:MobileFrontend/Hiding content on desktop devices/reply

Only personal interest: What should this be used for? The goal should be to bring the same content to all devices, so the best way is, to don't special handle some device categories :)

There is no way to do this out of the box, iirc. But it's possible that you create your own class. Just edit MediaWiki:Common.css and add:

Common.css will not be loaded in MobileFrontend, so the content is visible on mobile devices using MobileFrontend, but hidden on desktop deveices.