Digital Sovereignty for everyone

LH CSS Dates and Times

The div element below is styled using this plugin, for times in the AM it will have a grey background and in the PM a yellow background. This is done dynamically by javascript. Whilst this is atrivbial example, when this functionality is combined with pseudo elemenets this technique can be very powerful.

LH CCS Dates and times test div

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.