Perché la proprietà animation
non funziona sul selettore ::selection
in CSS?:: selezione animazione
/* Basic test case: */
body{ color:blue; }
@keyframes slc{
50%{ color:red; }
}
@-webkit-keyframes slc{
50%{ color:red;; }
}
/* Custom Selection Styles */
::selection{ background:#EEE; animation:0.4s slc infinite; }
::-moz-selection{ background:#EEE; animation:0.4s slc infinite;}
::-webkit-selection{ background:#EEE; -webkit-animation:0.4s slc infinite; }
Non sono un esperto di CSS e non so che questo è il motivo – vol7ron
Penso che abbiano semplicemente dimenticato di aggiungerlo! non c'è ragione di non supportarlo – vsync
Penso che sia mancato anche a me. Forse chiedi a Tab Atkins? –