Home > AI > Language > CSS >

::selection

Style when selection elements

Example:

::selection {
  background: var(--primary-color);
  color: #fff;
}

Leave a Reply