google chrome - Why is my site text dancing when I highlight it? CSS ::selection -
using chrome, highlight of text on my site , crosses on , mumble jumbles.
i've got following in sass/css file:
// ::selection *::-moz-selection { color: $mulberry; background: none repeat scroll 0% 0% $keylime; } *::selection { color: $mulberry; background: none repeat scroll 0% 0% $keylime; }
i first tried without asterisk wildcards, no luck, still shimmy-shake dance. when remove it, it's fine. tips appreciated why chrome might doing this. not happening in safari or firefox.
you've got funky font-styles in there, causing problem:
-webkit-font-feature-settings: "liga", "dlig"
if remove css rule, problem goes away.
Comments
Post a Comment