Skip to content

Commit

Permalink
Add FF support for custom text selection
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Feb 26, 2018
1 parent 6666212 commit 5596dbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snippets/custom-text-selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Changes the styling of text selection.
</div>

<style>
.snippet-demo__custom-text-selection::selection {
.snippet-demo__custom-text-selection::selection,
.snippet-demo__custom-text-selection::-moz-selection {
background: red;
color: white;
}
Expand Down

0 comments on commit 5596dbe

Please sign in to comment.