Maintenance

  • Home
  • Log in
  • « Running multiple copies of Oxygen
  • Display settings »

CSS variation selector

Posted by gregster on 26 Mar 2021 in Announcements

If you want to use an emoji (like ❎) but don't want it to be green you can use the variation selector (0xFE0E)to change it to the text representation.
Use it in CSS like this:
.myClassName::after { content: \274E\FE0E; }
which will look like this ❎︎

Some emojis don't have a text representation.
To check what the text version looks like (if one exists) for any given character, go here and enter a utf-16 string (like 274E) or the character itself (❎). This is a very crude tool. Don't expect much.

This entry was posted by Greg and filed under Announcements.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2022 by admin • Help • Build your own website!