DEV Community

Koutaro Chikuba
Koutaro Chikuba

Posted on

ascii only monospace font-face

@font-face {
  font-family: MonoAscii;
  src: local('Courier New'), local("Consolas"), local(monospace);
  font-style: normal;
  unicode-range: U+0000-007F;
}

body {
  font-family: MonoAscii, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

Top comments (1)

Collapse
 
tux0r profile image
tux0r

Huh?