Changing font grade (weight irrespective of width) based on ambient light. “Heavy” font in low-light. #typography @q42 pic.twitter.com/hAN8f2vNnB— Tom Lokhorst (@tomlokhorst) March 1, 2017
Changing font grade (weight irrespective of width) based on ambient light. “Heavy” font in low-light. #typography @q42 pic.twitter.com/hAN8f2vNnB
Considering temporary disabilities with @ninjanails , @Citymapper is well designed for people who are drunk/tipsy, their ‘get me home’ button even gets bigger as the night goes on! #deltaVconf #a11y pic.twitter.com/zOi1R88d9B— rish (@droidarea) May 10, 2018
Considering temporary disabilities with @ninjanails , @Citymapper is well designed for people who are drunk/tipsy, their ‘get me home’ button even gets bigger as the night goes on! #deltaVconf #a11y pic.twitter.com/zOi1R88d9B
-webkit-text-stroke-width: 2px;-webkit-text-stroke-color: white;
@font-face { font-family: 'MyVariableFontName'; src: url('path/to/font/file/myvariablefont.woff2') format('woff2-variations'); font-weight: 125 950; font-stretch: 75% 125%; font-style: normal; }
#miTipoVariable { font-variation-settings: 'wght' 375, 'GRAD' 88, "slnt" 1, "MONO" 1, "EjeCustom" 288; }
.quieroModificar { /* el que quieres modificar? */ } .quieroModificar:hover { /* el que quieres modificar cuando pases el raton? */ }
let enableHandler = true; timer = window.setInterval(function() { enableHandler = true; }, 50); jQuery(document).on("mousemove", function(e) { if (enableHandler) { let factor = e.pageX / jQuery(document).width(); let wght = 200 + 600 * factor; jQuery(".testing").css("font-variation-settings", "'wght' " + wght) enableHandler = false; } });