Skip to content

Instantly share code, notes, and snippets.

import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.microedition.rms.*;
public class ConversorMonedasJavaME extends MIDlet implements CommandListener {
private Display display;
private Form form;

Ionic 4 global CSS

Ionic 4 every component implementation and their styles are self-contained, in fact, native shadow-dom is used, so trully isolation in enforced.

However, in Ionic Apps there are global CSS (linked in <head>) that needs to be included in order for an Ionic app to properly work.

Some of this "global CSS" style html, normalizes,and configures the typography (font-family, font-size) of the whole page, so apps look like native.

CSS files

/** Detect free variable `global` from Node.js. */
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
/** Detect free variable `self`. */
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
/** Used as a reference to the global object. */
var root = freeGlobal || freeSelf || Function('return this')();
/** Built-in value references. */