Skip to content

Instantly share code, notes, and snippets.

@travis-g
Last active January 21, 2021 07:57
Show Gist options
  • Save travis-g/f5caf7f6d5756da1fa90368d33da3362 to your computer and use it in GitHub Desktop.
Save travis-g/f5caf7f6d5756da1fa90368d33da3362 to your computer and use it in GitHub Desktop.
Possible Emoji @font-face rule
@font-face {
font-family: 'emoji';
src:
local('Apple Color Emoji');
local('Noto Color Emoji');
local('Android Emoji');
local('Segoe UI');
local(EmojiSymbols);
unicode-range:
U+1f300-1f5ff, /* misc symbols + pictographs */
U+1f910-1f918, U+1f980-1f984, /* supplemental */
U+1f600-1f64f, /* emoticons */
U+1f680-1f6ff, /* transport */
U+26??, /* misc */
U+2700-27bf, /* dingbats */
}
@font-face { /* fallback to sans-serif */
font-family: 'emoji';
src:
local(sans-serif),
local('Helvetica'),
local('Arial');
/* graceful fallback for a Firefox bug */
unicode-range: U+270c;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment