Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

How ionic 2 detects the platform and load CSS files?

$
0
0

@suyog wrote:

I have seen that there are separate CSS files for android and ios (main,variables,components) ex:


I want to understand how it loads dynamically platform Specific file? As we need to give support for desktop browser, we are going to add new files copied from android set and save for desktop. But want to understand the logic how it loads platform specific files, so I can add a switch if its desktop browser then load desktop browser specific files.

Also on body tag ionic is adding dynamic class like 'md' or 'ios'. how that logic works ??

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>