I tried to do the following, but it does not work: * { &::selection { text-decoration: underline; } }